I am trying to disable few option items in SelectItem in smartgwt but have not been able to find a suitable API. Please help.
Asked
Active
Viewed 2,496 times
3 Answers
3
Use an optionDataSource to provide the values for the SelectItem. You can then set the ListGridRecords disabled using the ListGrid.recordEnabledProperty, or if you them just greyed out but not disabled, use SelectItem.setPickListFields() to install formatting and styling overrides.

Charles Kendrick
- 2,059
- 13
- 14
0
Can you tell me, why do you want to do so? If you want some options not to be selected, then don't include them in selectItem.

RAS
- 8,100
- 16
- 64
- 86