Hi Isomorphic,
we have editable grid where one of the fields has set editor to be SpinnerItem.
SpinnerItem has set default value to 1.
When user removes value from the item manually, after closing the editor default value is not automatically applied.
Reproduced on com.smartgwt.sample.showcase.client.grid.editing.GridCustomEditorsSample
![Click image for larger version
Name: spinner-item-default-value-issue-grid.gif
Views: 156
Size: 151.3 KB
ID: 248089](filedata/fetch?id=248089&d=1501764261)
SmartClient Version: v10.0p_2017-08-02/LGPL Development Only (built 2017-08-02)
Google Chrome Version 58.0.3029.81 (64-bit)
we have editable grid where one of the fields has set editor to be SpinnerItem.
SpinnerItem has set default value to 1.
When user removes value from the item manually, after closing the editor default value is not automatically applied.
Reproduced on com.smartgwt.sample.showcase.client.grid.editing.GridCustomEditorsSample
Code:
ListGridField populationField = new ListGridField("population", "Population", 100); final SpinnerItem editorProperties = new SpinnerItem(); editorProperties.setDefaultValue(1); populationField.setEditorProperties(editorProperties);
SmartClient Version: v10.0p_2017-08-02/LGPL Development Only (built 2017-08-02)
Google Chrome Version 58.0.3029.81 (64-bit)
Comment