
Alexandru Stefan
Top achievements
Rank 1
Alexandru Stefan
asked on 11 Aug 2015, 09:54 AM
Hi all,
I'm trying to add an expand/collapse all button in my kendo ui gridview but i couldn't find a way to do it. I've found the method to do it:
this
.expandRow(
this
.tbody.find(
"tr.k-master-row"
));
But I don't know how to add a button in the highlighted area in the attached photo.
Can anyone help me with this?
Thank you in advance!
6 Answers, 1 is accepted
0
Accepted
Hello Alexandru,
You can achieve this requirement using the following approach:
http://dojo.telerik.com/IHEGo/17
Hope this helps. Please give it a try and let me know if it works for you.
Regards,
Eyup
Telerik
You can achieve this requirement using the following approach:
http://dojo.telerik.com/IHEGo/17
Hope this helps. Please give it a try and let me know if it works for you.
Regards,
Eyup
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0

Alexandru Stefan
Top achievements
Rank 1
answered on 11 Aug 2015, 12:25 PM
Hi Eyup,
It sure looks like what I need. I will give it a try and come back with conclusions/questions.
Thank you a lot!
0
Hello Alexandru,
Please take your time to examine the sample and let us know if new questions arise.
Regards,
Eyup
Telerik
Please take your time to examine the sample and let us know if new questions arise.
Regards,
Eyup
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0

Alexandru Stefan
Top achievements
Rank 1
answered on 11 Aug 2015, 01:56 PM
Hi Eyup,
Do you know why your code it doesn't put the link in the right cell? (see attached image)
I applied style and checked everything if it is the same.
Thank you,
Alexandru
0

Alexandru Stefan
Top achievements
Rank 1
answered on 11 Aug 2015, 02:58 PM
Fixed, it was just a mistake of mine. Thank you for your help!
0
Hello Alexandru,
I'm glad the suggested solution has proven helpful.
For collapsing all records, you can use the collapseRow() method in a similar way.
Regards,
Eyup
Telerik
I'm glad the suggested solution has proven helpful.
For collapsing all records, you can use the collapseRow() method in a similar way.
Regards,
Eyup
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!