Sorting issue !

Discussion in 'ASP .Net Datagrid Control' started by Gary, Oct 15, 2003.

  1. Gary

    Gary Guest

    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 -
     
    Gary, Oct 15, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jordo
    Replies:
    0
    Views:
    462
    Jordo
    Oct 31, 2003
  2. Replies:
    2
    Views:
    1,465
    James Kanze
    Jul 6, 2010
  3. Jason
    Replies:
    0
    Views:
    398
    Jason
    Oct 4, 2006
  4. Tom Kirchner

    sorting by multiple criterias (sub-sorting)

    Tom Kirchner, Oct 11, 2003, in forum: Perl Misc
    Replies:
    3
    Views:
    485
    Michael Budash
    Oct 11, 2003
  5. Íéêüëáïò Êïýñáò

    Sorting a set works, sorting a dictionary fails ?

    Íéêüëáïò Êïýñáò, Jun 10, 2013, in forum: Python
    Replies:
    12
    Views:
    168
    Ulrich Eckhardt
    Jun 10, 2013
Loading...

Share This Page