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

Expand and collapse selected row when dropdown value is selected

1 Answer 368 Views
Grid
This is a migrated thread and some comments may be shown as answers.
purnima
Top achievements
Rank 1
purnima asked on 25 Nov 2015, 12:16 PM
Can you please send me a code to expand or collapse any row in the grid ? Suppose, you are working on the grid that contains kendo dropdown and you want to expand only that row in which the kendo dropdown value is selected then how can we do that ? Also, how can we collapse that expanded row. I could found code that can expand/collapse all rows but I want to do any specific row only.

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 25 Nov 2015, 02:46 PM
Hello Purnima,

You can try using the expandRow and collapseRow methods to achieve this requirement:
http://docs.telerik.com/kendo-ui/api/javascript/ui/grid?#methods-expandRow

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!
 
Tags
Grid
Asked by
purnima
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or