EasyUI Forum

General Category => Bug Report => Topic started by: kingor2001 on November 03, 2017, 08:53:15 AM



Title: [datagrid] getChecked method works wrong when datagrid includes idField property
Post by: kingor2001 on November 03, 2017, 08:53:15 AM
If a datagrid includes 'idField' property, the getChecked method work wrong.
That is getChecked method can ‘memory history‘. After the datagrid loadData new data, getChecked Continue to return old checked rows.


Title: Re: [datagrid] getChecked method works wrong when datagrid includes idField property
Post by: stworthy on November 04, 2017, 07:53:33 PM
That's not a bug. When the 'idField' is set, all the selected and checked rows will be stored through pages. You should call 'clearSelections' or 'clearChecked' methods to clear them manually.