Ext.NET icon indicating copy to clipboard operation
Ext.NET copied to clipboard

Grouping Grid Panel selection lost on databind()

Open fabriciomurta opened this issue 2 years ago • 1 comments

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 avatar Jun 12 '23 17:06 fabriciomurta

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.

fabriciomurta avatar Jun 12 '23 19:06 fabriciomurta