EasyUI Forum
September 13, 2025, 04:59:53 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: how to expand master detail row progrmatically  (Read 6875 times)
amir-t
Newbie
*
Posts: 48


View Profile
« 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?

Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 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);
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!