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
1314
XamlWebGrid ScrollCellIntoView
posted

Hi,

After rebinding data to the webgrid, I reselect a row and use ScrollCellIntoView method to bring the row into view. If the row is outside visible boundaries, the scrollbar is positioned in such a manner that the selected row is just about visible in the bottom of the visible area. This could be a result of the visible grid area is not an exact multiple of row height. Is it possible to control the behavior so that the selected row could be positioned in the middle of the grid viewport (depending on the number additional rows that follow.)? Or at least show the complete row.

Is it possible to restore the scrollbar position to the value prior to update of the data source? Basically, I refresh the grid just to update the row that has been modified via a popup window.

Regards

Thanks

Parents Reply Children
No Data