EasyUI Forum
May 16, 2024, 09:23:14 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: propertygrid not show dynamic change [SOLVED]  (Read 6160 times)
evaro
Newbie
*
Posts: 7


View Profile Email
« on: March 05, 2014, 11:30:21 AM »

Hi, im need change cell value , but this not show:

Initially charge default data from json, but when user change other related info, i need change the related info:

The code:
Code:
            
     var filas = $("#gridInfo").propertygrid('getData');
     $.each( filas.rows, function(i,o){
     if( o.name=='Base')
         o.value = row.Database;
     });
     $("#gridInfo").propertygrid('loadData',filas);
not errors found with change, but propertygrid not show data change
« Last Edit: January 09, 2015, 01:44:43 PM by evaro » Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 on: March 05, 2014, 06:59:54 PM »

Please refer to this example http://jsfiddle.net/3q59D/. It works fine.
Logged
evaro
Newbie
*
Posts: 7


View Profile Email
« Reply #2 on: March 05, 2014, 09:15:03 PM »

Very thanks, you response work for me!

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!