This is a migrated thread and some comments may be shown as answers.

Collapsed groups expands after editing

1 Answer 151 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Łukasz
Top achievements
Rank 1
Łukasz asked on 29 Nov 2017, 01:47 PM

Hi,

I'm trying to handle with expanding all collapsed groups after editing row (in inline method).

Here is example:

http://dojo.telerik.com/olusa

Try to collapse couple of groups and then edit some row - all groups will expand automatically. I suppose that such behavior is result of data binding. How to fix this? I suppose I should use some workaround, but I don't know what events should I look at.

1 Answer, 1 is accepted

Sort by
0
Konstantin Dikov
Telerik team
answered on 01 Dec 2017, 08:03 AM
Hi Ɓukasz,

After each data operation the Grid will render its records, which will return the group items state to their default (expanded) state. In order to avoid this you could use the approach demonstrated in the following HowTo article for persisting the collapsed state of the groups:
Another option would be to use the Batch (InCell) edit mode:
Hope this helps.


Regards,
Konstantin Dikov
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Grid
Asked by
Łukasz
Top achievements
Rank 1
Answers by
Konstantin Dikov
Telerik team
Share this question
or