extjs4.0
程序员文章站
2022-05-24 09:34:24
...
for(int i = 0; i < tree.getItemCount(); i++)
{
TreeItem item = tree.getItem(i);
CheckBox itemCheckBox = (CheckBox)item.getWidget();
boolean checkBoxValue = itemCheckBox.getValue().booleanValue();
// do something w/ checkBoxValue...
}
{
TreeItem item = tree.getItem(i);
CheckBox itemCheckBox = (CheckBox)item.getWidget();
boolean checkBoxValue = itemCheckBox.getValue().booleanValue();
// do something w/ checkBoxValue...
}