EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: amir-t on November 23, 2014, 06:30:22 AM



Title: how to expand master detail row progrmatically
Post by: amir-t on November 23, 2014, 06:30:22 AM
Hey,
I have a master detail data grid and i want to expand a row through the code, and not from the user click.
How can i do this? Is there a method for this?



Title: Re: how to expand master detail row progrmatically
Post by: stworthy on November 23, 2014, 08:06:26 AM
If you are using the 'detail view', please call 'expandRow' method to expand the specified row.
Code:
$('#dg').datagrid('expandRow', index);