Hi,
I am using Gxt3.1 tree with checkbox. i am using tree.setChecked(model,CheckState.CHECKED); method to enable the checkbox.I'm having 18000 records ( treeStore.getAll().size() )in tree. Its taking near 6 mins to enable all the checkbox. Any suggestion would be greatefull.
<CODE>
List<BpuTreeModel> all= tree.getStore().getAll();
for (BpuTreeModel model : all) {
if(model.isCheck()){
tree.setChecked(model,CheckState.CHECKED);
}
}
</CODE>
Thanks in Advance.
I am using Gxt3.1 tree with checkbox. i am using tree.setChecked(model,CheckState.CHECKED); method to enable the checkbox.I'm having 18000 records ( treeStore.getAll().size() )in tree. Its taking near 6 mins to enable all the checkbox. Any suggestion would be greatefull.
<CODE>
List<BpuTreeModel> all= tree.getStore().getAll();
for (BpuTreeModel model : all) {
if(model.isCheck()){
tree.setChecked(model,CheckState.CHECKED);
}
}
</CODE>
Thanks in Advance.
Tree.setChecked method is taking more time,
Aucun commentaire:
Enregistrer un commentaire