EasyUI Forum

General Category => Bug Report => Topic started by: jpierce on October 02, 2013, 03:21:57 PM



Title: bug when adding rows to grid with expand
Post by: jpierce 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.


Title: Re: bug when adding rows to grid with expand
Post by: stworthy on October 02, 2013, 05:16:16 PM
Please download the newest datagrid detail view file from http://www.jeasyui.com/extension/datagridview.php.


Title: Re: bug when adding rows to grid with expand
Post by: jpierce on October 03, 2013, 07:16:40 AM
Thanks for the quick fix.  I haven't been able to break this one.