Home Forums WPF controls Xceed DataGrid for WPF SortComparer not getting called the first time

2 sujets de 1 à 2 (sur un total de 2)
  • Auteur
    Messages
  • aravind
    Participant
    Post count: 1
    #43981 |

    I am adding a dynamic column and also setting the sortcomparer for that column.
    I have two tabs in my datagrid. The first tab has static columns and the second tab has dynamic columns that I have described above.

    When I click on the second tab for the first time the dynamic column is created and I can see the data populated correctly but not sorted according to the sortcomparer because I can see while debugging that it is not getting fired at all.

    But when I go to my first tab and then again come back to my second tab the sortcomparer is getting called and sort works perfectly from then on.

    What am I missing? Why is sort not working for the first time when the dynamic column is created and populated?

    Please help.

    Fawzi [Xceed]
    Membre
    Post count: 722

    Hi,

    Could you send me a simple stand alone sample project which reproduces the issue so that I could have a closer look.

2 sujets de 1 à 2 (sur un total de 2)
  • Vous devez être connecté pour répondre à ce sujet.