Using Smart GWT 3.1 with Chrome 24.0.1312.57
Please, see the example: http://www.smartclient.com/smartgwt/showcase/#grid_custom_editing_cell
The SelectItem editor works fine with 'Dog' as on example's source code.
But if I change the code that defines initial value "Dog,Goat" I will see it in the editor line, but if I expand the editor's comboboxes, nothing has been selected.
private ListGridRecord[] getData() {
return new ListGridRecord[]{
new NameValueRecord(1, "String Editor", "some string"),
new NameValueRecord(2, "Password Editor", "donkeykong"),
new NameValueRecord(3, "Date Editor", new Date()),
new NameValueRecord(4, "Boolean Editor", Boolean.FALSE),
new NameValueRecord(5, "Masked Int Editor", 5),
new NameValueRecord(6, "SelectItem Editor", "Dog,Goat"),
new NameValueRecord(7, "Slider Editor", 7)
};
}
How should I provide the initial values to have all of them to be selected?
Please, see the example: http://www.smartclient.com/smartgwt/showcase/#grid_custom_editing_cell
The SelectItem editor works fine with 'Dog' as on example's source code.
But if I change the code that defines initial value "Dog,Goat" I will see it in the editor line, but if I expand the editor's comboboxes, nothing has been selected.
private ListGridRecord[] getData() {
return new ListGridRecord[]{
new NameValueRecord(1, "String Editor", "some string"),
new NameValueRecord(2, "Password Editor", "donkeykong"),
new NameValueRecord(3, "Date Editor", new Date()),
new NameValueRecord(4, "Boolean Editor", Boolean.FALSE),
new NameValueRecord(5, "Masked Int Editor", 5),
new NameValueRecord(6, "SelectItem Editor", "Dog,Goat"),
new NameValueRecord(7, "Slider Editor", 7)
};
}
How should I provide the initial values to have all of them to be selected?
Comment