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
65
WinGrid layout refresh issue
posted

I am having a problem maintaining the wingrid layout and focus on a row after I refresh the data.

I am using a parent grid which is read-only and child grid which is editable. The parent grid has grouping functionality and users will typically have three bands grouped (three levels of grouping). A row is then selected in the parent grid which then returns rows to the child grid, a row is updated in the child grid which updates a cell in the matching row of the parent grid. When the data is refreshed I lose focus on the row in the parent grid because the grid collapses all the rows. I never delete any rows only edit rows in the child grid which updates a cell in the parent grid. After the refresh I need to return/keep focus on the row in the parent grid whilst maintaining the users layout.

 Has anyone had this problem and solved it? Any help is appreciated.

Parents Reply Children