Kendo-angular: Grid API for expand/collapse of detail rows

Created on 24 Nov 2016  路  8Comments  路  Source: telerik/kendo-angular

There have been requests for more control over the expanding and collapsing of the detail rows. The grid should provide methods that allow that.

Enhancement grid

Most helpful comment

It would be easier for customers to track this item, so let's close it when the functionality has been implemented.

All 8 comments

Adding public API for expand/collapse is in our to-do list. We'll update the documentation when it is available.

It would be easier for customers to track this item, so let's close it when the functionality has been implemented.

Is there currently a preferred way to handle the expand/collapse event? Perhaps off of the dataStateChange event?

@burkeholland there isn't event for expand/collapse yet. dataStateChange is related to data state - like page index/size, sorting etc.

Understood. It would be nice to have the event to decide whether or not to destroy/recreate the detail grid on expand/collapse.

Hey guys, is there away to show the grid fully expanded all rows?

e.g. the old way:

dataBound: function() { this.expandRow(this.tbody.find("tr.k-master-row")); }

@lelong37 There isn't dataBound event analogue as the Grid is repainted right after data property is provided.

Here is a possible implementation of the scenario - http://plnkr.co/edit/Rqc2lBCljEF4x5WOJj0C?p=preview

Perhaps we can add this snippet to the docs as well?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

DGolverdingen picture DGolverdingen  路  19Comments

tsvetomir picture tsvetomir  路  20Comments

simon11196 picture simon11196  路  17Comments

wkpablo picture wkpablo  路  25Comments

pkoecker picture pkoecker  路  16Comments