EasyUI Forum

General Category => Bug Report => Topic started by: hande89 on August 15, 2014, 02:54:31 PM



Title: Datagrid groupview not updating
Post by: hande89 on August 15, 2014, 02:54:31 PM
http://www.jeasyui.com/tutorial/datagrid/datagrid29_demo.html

If I call updateRow method to change the Product ID on some row, the group titles are not updated and row is not moved to new group.


Title: Re: Datagrid groupview not updating
Post by: jarry on August 15, 2014, 07:24:19 PM
After update rows, please call 'loadData' method to reload the datagrid data.
Code:
var dg = $('#dg');
dg.datagrid('updateRow', ...);
dg.datagrid('loadData', dg.datagrid('getData'));