Hi,
I have Boolean field in ListGrid. Whether I checked or not it always return value as false.
I have two requirements.
1. It should return the value true if its checked and false if its unchecked
2. When I load the grid, Default value should be checked.
I provided my code below :
// client side
ListGridField include = new ListGridField(RENConstants.FieldName.INCLUDE,RENConstants.FieldTitle.INCLUDE, 100); include.setType(ListGridFieldType.BOOLEAN); include.setCanEdit(true);
//DataSource
DataSourceBooleanField include = new DataSourceBooleanField(FieldName.INCLUDE, FieldTitle.INCLUDE); setFields(include);
I have Boolean field in ListGrid. Whether I checked or not it always return value as false.
I have two requirements.
1. It should return the value true if its checked and false if its unchecked
2. When I load the grid, Default value should be checked.
I provided my code below :
// client side
ListGridField include = new ListGridField(RENConstants.FieldName.INCLUDE,RENConstants.FieldTitle.INCLUDE, 100); include.setType(ListGridFieldType.BOOLEAN); include.setCanEdit(true);
//DataSource
DataSourceBooleanField include = new DataSourceBooleanField(FieldName.INCLUDE, FieldTitle.INCLUDE); setFields(include);
Comment