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

kendoGridDetailTemplate always expanded and remove +/- button

1 Answer 1169 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Tim
Top achievements
Rank 1
Tim asked on 25 Jan 2019, 08:38 PM

I need to have the detail row details always expanded (for every row), and also remove the +/- button that allows a user to expand/collapse details.  Anyway to do this with the Kendo grid?

Attached is an example of what we are trying to achieve.  The image is from the Telerik Silverlight GridView control.  We are rewriting the Silverlight app into Angular.

 

1 Answer, 1 is accepted

Sort by
0
Accepted
Dimiter Topalov
Telerik team
answered on 28 Jan 2019, 12:34 PM
Hello Tim,

To achieve the desired behavior and layout, you can expand all Grid master rows programmatically (via the Grid expandRow method), and hide the detail expand/collapse column and icons via overwriting the built-in CSS, e.g.:

https://stackblitz.com/edit/angular-ppkpnh-srkk3u?file=app/app.component.ts

I hope this helps.

Regards,
Dimiter Topalov
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
Grid
Asked by
Tim
Top achievements
Rank 1
Answers by
Dimiter Topalov
Telerik team
Share this question
or