Unplanned
Last Updated: 23 Mar 2020 07:36 by ADMIN
Diego
Created on: 20 Mar 2020 09:03
Category: Grid
Type: Feature Request
2
Master-Detail Grids -> add a css class when master row has detail opened!

As described here:

https://github.com/telerik/kendo-angular/issues/2809#event-3148229980

We are asking to add a simple css class to every master row opened. We have just to change stile every time row has detail open.

Thanks

1 comment
ADMIN
Dimiter Topalov
Posted on: 23 Mar 2020 07:36

Hi Diego,

Thank you for submitting this feature request. We will consider adding such an enhancement based on the customer demand.

Meanwhile we can suggest the following approach for achieving it via a custom implementation involving currently existing built-in features of the Grid:

Use the Grid expansion directive to store the IDs of all expanded items, and some simple custom logic to add a class to the expanded rows conditionally via the rowClass callback, based on the presence of the ID of each item in the ExpandedKeys array, e.g.:

https://stackblitz.com/edit/angular-81tz7n-4vdhse?file=app/app.component.ts

 

Regards,
Dimiter Topalov
Progress Telerik

Get quickly onboarded and successful with your Telerik and Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.