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

Inline edits for grouped rows

1 Answer 57 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Ara
Top achievements
Rank 1
Ara asked on 27 Apr 2020, 07:14 AM

Hi there,

Is it possible to use the Grid components integrated "edit" mode to edit the group row-level cells? Attached is a screenshot of what we want to accomplish.

If not what might be an alternate approach to achieve this? I considered custom row templates with our own code to handle all row-related behaviors, but want to ask first since perhaps that's overkill.

Thanks in advance.

1 Answer, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 28 Apr 2020, 10:13 AM

Hello,

In order to achieve such scenario we can start from this example where it is shown how to use custom cell in a grouping scenario.  We can modify it do render grouping td elements only for some cells and decrease the colSpan of the first cell by the amount of the cells that we are going to show. Here is an example of such scenario - https://stackblitz.com/edit/xv1mzd-dnxupp?file=index.js.

Hope this information will be helpful.

Regards,
Plamen
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
Grid
Asked by
Ara
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Share this question
or