I have a ListGrid which is using an optionDataSource and I wanted to retrieve the displayed value.
I found that I can get the ListGridField's valueMap through
and get the displayed value from the map.
Is there a better way to do this, or is this reasonable?
I found that I can get the ListGridField's valueMap through
Code:
Map valueMap = field.getAttributeAsMap("valueMap");
Is there a better way to do this, or is this reasonable?
Comment