View Full Version : How enable dirty cell in TreeGrid<BeanModel>?
Timur
9 Feb 2010, 12:13 AM
Hi, friends!
subj. Cell is update, but not show red corner.
treeGrid.getView().setShowDirtyCells(true); don't help. :(
micgala
10 Feb 2010, 12:40 AM
How you are updating the value?
Via an editor, or via code?
Timur
10 Feb 2010, 3:37 AM
How you are updating the value?
Via an editor, or via code?
TreeStore is binded to FormBinding.
micgala
10 Feb 2010, 4:40 AM
Which means the entries are already "commited", then they are not marked as dirty.
For manually marking:
for (ModelData model : store.getModels()) {
Record record = store.getRecord(model);
record.set(?, model.get(?); //Here, you should try setting any property existing in the model
//You could also try record.setDirty(true);
//Then refresh your view
}
Hope this somehow helps you.
Regards,
Michel.
Powered by vBulletin® Version 4.1.5 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.