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
610
RecordSelector is not updating for current row
posted

Hi,

In my data grid, I have two rows, I bind record selector to index and I see row number 1 and 2 on the window.

After I add a new row, if I leave the row to be added to the bottom, then new row shows number 3 and the existing ones still show 1 and 2, this is fine. And if I keep adding new rows, the will show row number 4, 5, etc.

But after row is added (in code), I did a sort programmatically, which always moves new row to the top. Now the problem comes:

If before I add row, my current selected row is row 1, then after row is added and sorted, the row numbers become 1, 1, 3.

If before I add row, my current selected row is row 2, then after row is added and sorted, the row numbers become 1, 2, 2.

Notice the row number does not get changed for whatever row that is currently selected.

This seems to be a bug to me.

Please advice,

Thanks,

Yu