Title: automatic check/select data in datagrid Post by: aswzen on June 02, 2014, 02:59:08 AM I think you missed something in datagrid demo... :'(
How to create a datagrid with some data already checked or selected? I found method in docs about using selectRow and checkRow.. but it just worked only in client side (checked or selected after datagrid successfully loaded)..... Code: <table id="package_group_table" class="easyui-datagrid" style="width:250px;height:150px" Code above isnt working... CHECKED field populated with true and false data... Title: Re: automatic check/select data in datagrid Post by: aswzen on June 03, 2014, 03:29:45 AM help please ....
Title: Re: automatic check/select data in datagrid Post by: jarry on June 03, 2014, 07:50:23 AM The 'checkRow' method must be called after loaded data successfully, so please do the checking rows in the 'onLoadSuccess' event.
Code: <table id="package_group_table" class="easyui-datagrid" style="width:250px;height:150px" Title: Re: automatic check/select data in datagrid Post by: ryupanqui on June 03, 2014, 04:01:15 PM I would know about this. Why this is not a default behaviour of datagrid? Because I think the problem is that developer will have to repeat this same code in the 'onLoadSuccess' event of each datagrid. Thanks in advance for your reply!
|