Title: getData results on easyUI Datagrid not including checkbox state Post by: aswzen on December 02, 2015, 03:08:04 AM i know there was 'getChecked' but i need another rows that are not checked
then if i use 'getData' method, the checkbox state is not included see this fiddle: http://jsfiddle.net/pkw17n1a/ How to make 'getData' result including the checkbox state? Thank you in advance Title: Re: getData results on easyUI Datagrid not including checkbox state Post by: lloyd on December 03, 2015, 09:48:59 AM You need to do:-
Code: // This will return an array of checked rows Title: Re: getData results on easyUI Datagrid not including checkbox state Post by: aswzen on December 03, 2015, 07:09:55 PM You need to do:- Code: // This will return an array of checked rows i don't get it..can you put your solustion in jsfiddle? thankyou Title: Re: getData results on easyUI Datagrid not including checkbox state Post by: lloyd on December 04, 2015, 02:40:50 AM You can also use:- getChecked
Code: var checkedRows = $('#TABLE').datagrid('getChecked'); Title: Re: getData results on easyUI Datagrid not including checkbox state Post by: aswzen on December 04, 2015, 04:33:25 AM You can also use:- getChecked Code: var checkedRows = $('#TABLE').datagrid('getChecked'); getChecked only return the checked rows not all rows.. I want all rows include the checkbox states |