SmartGWT v8.2p_2013-02-06/LGPL Development Only (built 2013-02-06)
Using IE9, tried in dev and regular mode
I have a SelectItem with multiple set to true and an optionDataSource set. I also have a valueField and displayField set up. When showing the drop down, everything works fine. I see all of my displayField values. Additionally, when I select a value from the first 75 records (the first data page) the selected value appears in my ListGrid just fine.
However, if I scroll my item past the initial data page (say, to record 1000) and select a record, the ID (valueField) for the record shows in the ListGrid, not the displayField.
Suggestions? Does this relate to the following note in the documentation, even though it seems to work OK for the first data page?
Thanks,
Brian
Using IE9, tried in dev and regular mode
I have a SelectItem with multiple set to true and an optionDataSource set. I also have a valueField and displayField set up. When showing the drop down, everything works fine. I see all of my displayField values. Additionally, when I select a value from the first 75 records (the first data page) the selected value appears in my ListGrid just fine.
However, if I scroll my item past the initial data page (say, to record 1000) and select a record, the ID (valueField) for the record shows in the ListGrid, not the displayField.
Suggestions? Does this relate to the following note in the documentation, even though it seems to work OK for the first data page?
Note: multiple:true SelectItems do not currently support optionDataSource binding. You can get around this by calling DataSource.fetchData directly and calling dsResponse.data.getValueMap() to obtain a valueMap.
Brian
Comment