Skip to content
This repository has been archived by the owner on Aug 9, 2024. It is now read-only.

Grouping Grid Panel selection lost on databind() #1877

Open
fabriciomurta opened this issue Jun 12, 2023 · 1 comment
Open

Grouping Grid Panel selection lost on databind() #1877

fabriciomurta opened this issue Jun 12, 2023 · 1 comment

Comments

@fabriciomurta
Copy link
Contributor

fabriciomurta commented Jun 12, 2023

Found: Ext.NET 5.3.0
Ext.NET Forums' thread: Grouped Datagrid loses selection by DataBind

If data is refreshed in a Grid Panel from a server call, the grid has Row Selection Model and grouping enabled, the selection is visually lost once the new data is loaded. The actual selection is retained and visually, it won't show the selected row.

Calling the grid's .getView().refresh() corrects the selection display.

@fabriciomurta
Copy link
Contributor Author

The following forum thread points about a different layout issue on data bind that seems to be very similarly rooted to this issue: Ungrouped locked datagrid loses row height after databinding

The same refresh() view call fixed the display sync issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant