My Grid like this enter link description here
I have a Grid with many checkboxes columns These checkboxes reflect certain properties of my data Model(True/False)..How can I add a listener to each checkbox and perform some action upon clicking it? i want to set value for listDatas when checkBox is selected.. It is not selectionModel
I want to set value(true/false) when checkBox is checked... .For example: I have a model( String name, int age, boolean single, boolean indoor, boolean....) Each of boolean is a checkBox column... So i need to change value of model when user click checkBOx --> SO i can change listDatas to update database
listStore = new ListStore<DeleteAllTestModel>();
List<DeleteAllTestModel> listDatas = getDatas();
listStore.add(listDatas);
gridView = new PMTGridDeleteAllTest<DeleteAllTestModel>().getPMTGridDeleteAllTest(listStore);
gridView.setAutoWidth(true);
gridView.setStripeRows(true);
Help Me! Many thanks
ValueProvider
will do this. - Andy King