EasyUI Forum
June 23, 2018, 12:49:25 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
   Home   Help Search Login Register  
Pages: [1]
Author Topic: [datagrid] getChecked method works wrong when datagrid includes idField property  (Read 823 times)
Posts: 45

View Profile
« 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.
« Last Edit: November 03, 2017, 08:56:30 AM by kingor2001 » Logged
Hero Member
Posts: 3285

View Profile Email
« Reply #1 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.
Pages: [1]
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!