Welcome to the Xceed Community | Help
Community Search  
More Search Options

incorrect data after sorting for invisible columns

Sort Posts: Previous Next
  •  07-22-2009, 9:34 AM Post no. 22799

    incorrect data after sorting for invisible columns

    I am using Xcced DataGrid Control and binding with a DataTable. I am making some of the columns in DataGridControl to Visible="False".

    On click of the row i am getting the value of one of the invisible columns

     Xceed.Wpf.DataGrid.DataRow objDataRow = sender as Xceed.Wpf.DataGrid.DataRow;

    with objDataRow object i can access the Values in a particualr column. till here its working fine.

    But after soting any of the columns , i am not getting the expected value of the invisible column. However i am getting the expected value for the columns which are visible .

    What could be the reason ??

    Thanks

    Saurabh

  •  07-22-2009, 3:32 PM Post no. 22816 in reply to 22799

    Re: incorrect data after sorting for invisible columns

    Hi Saurabh,

    I was not able to reproduce the problem you described. If you are using the latest version and are still having this issue, please send me a sample project reproducing the problem to support@xceed.com (please include a link to this forum thread for reference).


    Diane Lafontaine
    Technical Support / Technical Support Team Lead
    Xceed Software Inc.
  •  07-24-2009, 8:19 AM Post no. 22868 in reply to 22816

    Re: incorrect data after sorting for invisible columns

    Hi Diane,

    Thanks for giving the time. This issue is not just comming after sorting one or twice. it is coming in different scenarios. Below are the scenarios :

    • If you sort any column multiple times, lets say more than 15 times frequently.It may come up after 5 times or may come up after 40 times .so its completely random.
    • If you do sometimes sorting sometimes grouping and sometimes moving the column position, i mean mix all the operation multiple times frequently then also you can get this issue.
    • Which row will give you the wrong data that is also not predictable. However the column which is invisible will give the wrong data.


    I found this in a XBAP application. But when i created a sample windows application then also i am getting this issue.
    This issue is random in nature, but it will come for sure at some point of time in the above mentioned scenarios.

    I have send a sample application.

     

    Thanks

    Saurabh

View as RSS news feed in XML
Contact | Site Map | Reviews | Legal Terms of Use | Trademarks | Privacy Statement Copyright 2011 Xceed Software Inc.