Hi,
In a screen with ListGrid we have a requirement to populate dropdown with different value for each row (based on the business logic).
In our implementation, we are returning it as a Map - for each row (which is a list). The data structure is: List for every row with the list having a map - for every column. The value in the map for this particular column is again a map.
When we are displaying on the screen - since the setValueMap is used, all the columns get the same map (as the setValueMap method is at the ListGrid level)..
Because of some reasons we are trying to avoid usage of OtherDataSource option. We also looked at the Dependent Selects example but cannot figure how the getEditorValueMap method be implemented in our case - as the data is not available locally, it is fetched.
Please let us know if there is a way to set the dropdown with different value maps for each row without using the OtherDataSource option.
Thanks
In a screen with ListGrid we have a requirement to populate dropdown with different value for each row (based on the business logic).
In our implementation, we are returning it as a Map - for each row (which is a list). The data structure is: List for every row with the list having a map - for every column. The value in the map for this particular column is again a map.
When we are displaying on the screen - since the setValueMap is used, all the columns get the same map (as the setValueMap method is at the ListGrid level)..
Because of some reasons we are trying to avoid usage of OtherDataSource option. We also looked at the Dependent Selects example but cannot figure how the getEditorValueMap method be implemented in our case - as the data is not available locally, it is fetched.
Please let us know if there is a way to set the dropdown with different value maps for each row without using the OtherDataSource option.
Thanks
Comment