|
Title: load data into Datagrid with checkbox-es Post by: mzeddd on September 29, 2016, 02:03:50 AM I could not see in Documentation/Demo/Tutorial how to load data into datagrid and set checkboxes where it is needed.
Can you show how to do this? Thanks Title: Re: load data into Datagrid with checkbox-es Post by: jarry on September 29, 2016, 02:25:56 AM After loading the data, call 'checkRow' method to check what rows you want.
Code: $('#dg').datagrid({Title: Re: load data into Datagrid with checkbox-es Post by: mzeddd on September 29, 2016, 03:01:04 AM I'm talking about automatic checkbox set like it works for Tree for example
Like here: http://www.jeasyui.com/tutorial/tree/data/tree_data.json I set it checked and it appears in datagrid as checked. Title: Re: load data into Datagrid with checkbox-es Post by: jarry on September 29, 2016, 03:18:58 PM You have to call the checkRow method manually by yourself. Of course, you can extend the view to achieve this functionality.
|