Expand newly created row

1 Answer 65 Views
Grid
Cody
Top achievements
Rank 1
Cody asked on 08 May 2021, 07:00 PM
Hi, I've been trying for quite some time now to expand the newly created row. So basically when I hit "add new" and hit update after it updates and inserts, then expand that new row.

1 Answer, 1 is accepted

Sort by
0
Georgi Denchev
Telerik team
answered on 11 May 2021, 12:05 PM

Hi, Cody,

I assume you are talking about a Hierarchical Grid and you want to expand the newly added row?

If that is the case then calling the expandRow method when the Save event is fired should do the trick.

save: function(e) {
    this.expandRow(e.container); // e.container = current row.
}

Best Regards,
Georgi Denchev
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Cody
Top achievements
Rank 1
commented on 11 May 2021, 12:10 PM

Oh. Well ain’t that easy. I’ll give it a try tonight
Tags
Grid
Asked by
Cody
Top achievements
Rank 1
Answers by
Georgi Denchev
Telerik team
Share this question
or