Isomorphic,
When using a CanvasItem for a custom cell editor, the editor doesn't get hidden when tabbing out of the cell.
You can see this by modifying the Custom Cell Editors Showcase sample.
Use the following modified getData() method.
Steps to reproduce:
1. From the list grid, edit the Value Field for the Slider Editor record.
2. Move the slider, then hit the TAB key.
The focus will change to the Value Field for the next row, however, the Slider component will still be visible and there is no way to get rid of it.
![custom_cell_editor.jpg Click image for larger version
Name: custom_cell_editor.jpg
Views: 175
Size: 13.0 KB
ID: 268989](filedata/fetch?id=268989&d=1667592469)
SmartClient Version: v12.1p_2022-06-16/Pro Deployment (built 2022-06-16)
Windows 10 Home
Firefox 106.0.4 (64-bit)
Chrome 107.0.5304.88 (Official Build) (64-bit)
Thanks
When using a CanvasItem for a custom cell editor, the editor doesn't get hidden when tabbing out of the cell.
You can see this by modifying the Custom Cell Editors Showcase sample.
Use the following modified getData() method.
Code:
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"), new NameValueRecord(7, "Slider Editor", 7), new NameValueRecord(8, "String Editor", "some other string") }; }
1. From the list grid, edit the Value Field for the Slider Editor record.
2. Move the slider, then hit the TAB key.
The focus will change to the Value Field for the next row, however, the Slider component will still be visible and there is no way to get rid of it.
SmartClient Version: v12.1p_2022-06-16/Pro Deployment (built 2022-06-16)
Windows 10 Home
Firefox 106.0.4 (64-bit)
Chrome 107.0.5304.88 (Official Build) (64-bit)
Thanks
Comment