Hi ,
We are using smart gwt 6.0 p version. And our requirement is to disable some records based on some condition in the multi select dropdown which is bind to optiondatasource. Please advice . Below is the code
SelectItem selector = new SelectItem();
ListGridField codeId= new ListGridField("codeId");
ListGridField description= new ListGridField("description");
selector.setOptionDataSource(materialAttrDataSource);
selector.setMultiple(true);
selector.setDisplayField("code");
selector.setValueField("code");
selector.setPickListFields(code,description);
Based on the codeIds we want to disable some of the records of the drop down data. how can we achieve this
Many thanks in advance.
We are using smart gwt 6.0 p version. And our requirement is to disable some records based on some condition in the multi select dropdown which is bind to optiondatasource. Please advice . Below is the code
SelectItem selector = new SelectItem();
ListGridField codeId= new ListGridField("codeId");
ListGridField description= new ListGridField("description");
selector.setOptionDataSource(materialAttrDataSource);
selector.setMultiple(true);
selector.setDisplayField("code");
selector.setValueField("code");
selector.setPickListFields(code,description);
Based on the codeIds we want to disable some of the records of the drop down data. how can we achieve this
Many thanks in advance.
Comment