Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Datagrid Control > Sorting issue !

Reply
Thread Tools

Sorting issue !

 
 
Gary
Guest
Posts: n/a
 
      10-15-2003
Hi,

We are facing a typical problem with sorting a datagrid in Windows
application ( c# )

The scenario

We have a datagrid which is binded to a dataview which conatins two columns
say Name and Age.

We tried with allowsorting property, to make the sorting enable and it is
working fine.

But the problem is

As soon as a user enters some value in new row, and leaves the row, the row

display position will change, based on the sort order. This is very much

Odd looking. Actually what I expect is, the new row should stay in the last

poistion, until the user does some action (like clicking the column header)

to sort it again.

For acheiving this, we tried with setting the allowsorting property back

to false as soon as the sorting is finished once then the display will also
get unsorted, which is not expected.

It will be of great help if someone can sort out this problem. Thanks in
advance.

- Gary -


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sorting list vs sorting vector boltar2003@boltar.world C++ 2 07-06-2010 09:40 AM
fired event Sorting which wasn't handled - sorting and SelectedIndexChanged Jason ASP .Net Web Controls 0 10-04-2006 02:19 PM
DataSet Sorting Issue kaczmar2@hotmail.com ASP .Net 3 03-15-2005 10:16 PM
Dynamic Columns Sorting issue in DataGrid Jordo ASP .Net 0 10-31-2003 03:40 PM
sorting by multiple criterias (sub-sorting) Tom Kirchner Perl Misc 3 10-11-2003 05:16 PM



Advertisments