Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   ASP .Net Datagrid Control (http://www.velocityreviews.com/forums/f60-asp-net-datagrid-control.html)
-   -   Sorting issue ! (http://www.velocityreviews.com/forums/t759727-sorting-issue.html)

Gary 10-15-2003 04:05 AM

Sorting issue !
 
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 -




All times are GMT. The time now is 02:41 AM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.