Hi,
i found that a ComboBoxItem in a ListGrid has limited functionalities, i hope i was wrong because i think those functionalities are very useful and i need them in my project.
A ComboBoxItem in a ListGrid is likely treated as a TextItem, so that when an option is selected, it appears the 'valueField (ComboBoxItem.setValueField(String)' in the grid, but most of the times as a standard function for a ComboBox both in HTML or Java applications, it should show a display value(usually unique id) and hide the actual value. But as ComboBoxItem is treated as a TextItem, it can only store and display one value.
Further more, i still haven't found the way to generate values for other fields in a ListGrid when a combobox option is selected (i can do this is a DynamicForm, but doesn't work for a ListGrid), i just can't get the values other than the displayValue and the actual value, is this possible in SmartGwt?
Are these my problem or SmartGwt lacks such features? could you please help? Thanks!
i found that a ComboBoxItem in a ListGrid has limited functionalities, i hope i was wrong because i think those functionalities are very useful and i need them in my project.
A ComboBoxItem in a ListGrid is likely treated as a TextItem, so that when an option is selected, it appears the 'valueField (ComboBoxItem.setValueField(String)' in the grid, but most of the times as a standard function for a ComboBox both in HTML or Java applications, it should show a display value(usually unique id) and hide the actual value. But as ComboBoxItem is treated as a TextItem, it can only store and display one value.
Further more, i still haven't found the way to generate values for other fields in a ListGrid when a combobox option is selected (i can do this is a DynamicForm, but doesn't work for a ListGrid), i just can't get the values other than the displayValue and the actual value, is this possible in SmartGwt?
Are these my problem or SmartGwt lacks such features? could you please help? Thanks!