EasyUI Forum
March 17, 2025, 04:05:24 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: Refresh expanded sub datagrid  (Read 5004 times)
finzaiko
Newbie
*
Posts: 44


View Profile
« on: January 14, 2016, 11:22:24 PM »

How refresh expanded selected subdatagrid, I have been try like this :
Code:
_tblItemSelected = '#ddv-'+index; // I got the ID when parent datagrid clicked
$(_tblItemSelected).datagrid('reload');
Still not work, I have could find this forum, anyone know ?

Thanks in advance.
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 on: January 15, 2016, 12:53:16 AM »

Make sure that you can get the reference to the sub grid component. Is it the code below correct?

Code:
_tblItemSelected = '#ddv-'+index;
console.log(_tblItemSelected.datagrid('getRows'));
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!