jQuery UI Widgets › Forums › ASP .NET MVC › How to automatically contract a nested grid row when expanding another row?
This topic contains 1 reply, has 2 voices, and was last updated by Hristo 5 months, 1 week ago.
How to automatically contract a nested grid row when expanding another row?
Hi, I have a main grid with its nested grid, so expanding a row shows me more complementary information.
This works correctly but I need to do the following.
I need to automatically contract a row when expanding another row, that is, I must not have two or more expanded rows.
You will have some example of this kind that can help me, thank you very much.
If you want to have just one row expanded at same time.
I will suggest you try to collapse all and after that expand just the last one.
For this purpose you could bind to the “rowexpand“ and “rowcollapse” event.
You must be logged in to reply to this topic.