Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
145
XamDataGrid FixedRowsLocation Issue
posted

Dear Infragistics,

I am trying to fix a certain number of rows at the bottom of the grid. The number of fixed rows vary depending upon the value of some field in the data item. The fixed rows must always stay at the bottom and must not take part in the sorting process. This works well when the data source is set for the first time. Clicking on the header, the sorting works well.

However after the user has clicked on any of the column and then hits the refresh button. The refresh button sets the datasource property of the grid and an attached behavior sets the fixed rows. This time the fixed rows gets mixed with the other rows and don't stay at the bottom.

Please find attached the sample project that has the same issue that I'm trying to fix.

Would you please look at the attached project and guide me how to fix this issue.

Many Thanks

Amir

 

xamDataGridFixedRowsIssue.zip
  • 138253
    Offline posted

    Hello Amir,

     

    Thank you for your post. I have been looking into it and the sample you have attached and I can say that the behavior you have is normal, because when you sort the Records and set the DataSource again you fix the last three Records, which depending on the sorting may be different and since the sorting remains after reassigning the DataSource, you have different fixed Records.

     

    Hope this helps you.