Open hustcolin opened 11 years ago
Currently the closest dgrid/Editor has to this is the canEdit
function on column definitions, but that controls whether the editor is rendered or not - not whether it's disabled. This is a topic that's come up internally as well; eventually we'd like to make it simple to support this case as well.
e.g: test/editor_more_widgets.html if (grid.store.data[0].bool == true ), then the first row of checkbox is disabled ; if (grid.store.data[1].bool == false ), then the second row of checkbox is enabled;
and every time when we change grid.store.data, the displaying checkbox can change while
grid.refresh() called .