EasyUI Forum
April 26, 2024, 10:10:46 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: bug when adding rows to grid with expand  (Read 12479 times)
jpierce
Jr. Member
**
Posts: 73


View Profile
« on: October 02, 2013, 03:21:57 PM »

I've run into a problem with grids that have expand rows.  This can be reproduced using the Master Detail grid example.  Just go to that page and run the following:

Code:
$('#dg').datagrid('appendRow', {"itemid":"EST-99","productid":"FI-SW-01","listprice":"16.50","unitcost":"10.00","status":"P","attr1":"Large"})

Now try to scroll to the bottom and expand EST-26.  You'll get a - icon, but no expansion data.  If you click the - icon, it will change to a + but it will "eat" EST-99, the row below it.  Clicking the + icon will then make EST-99 re-appear.

There are several other ways to show it being glitchy, but it's likely that one fix will fix them all so I'll leave it at this.
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 on: October 02, 2013, 05:16:16 PM »

Please download the newest datagrid detail view file from http://www.jeasyui.com/extension/datagridview.php.
Logged
jpierce
Jr. Member
**
Posts: 73


View Profile
« Reply #2 on: October 03, 2013, 07:16:40 AM »

Thanks for the quick fix.  I haven't been able to break this one.
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!