Hi,
I use version v12.0p_2019-07-22
I have a problem with ListGrid scrollbar.
If:
- I push down the mouse left button on the scrollbar
- go left and right (the list grid scroll)
- go outside of the listgrid (on right or bottom)
- release the button (outside of the listgrid)
then
- when i came back above the Listgrid the scroll is still active
This doesn't happen in Chrome and Firefox.
You have to expand column "Name" for reproduce the problem.
Thanks for your help.
Mike.
I use version v12.0p_2019-07-22
I have a problem with ListGrid scrollbar.
If:
- I push down the mouse left button on the scrollbar
- go left and right (the list grid scroll)
- go outside of the listgrid (on right or bottom)
- release the button (outside of the listgrid)
then
- when i came back above the Listgrid the scroll is still active
This doesn't happen in Chrome and Firefox.
Code:
public static ListGridRecord createRecord(String name, String surname) { ListGridRecord record = new ListGridRecord(); record.setAttribute("Name", name); record.setAttribute("Surname", surname); return record; } public static ListGridRecord[] getRecords() { return new ListGridRecord[] { createRecord("Name1", "Surname1"), createRecord("Name2", "Surname2"), createRecord("Name3", "Surname3") }; } @Override public void onModuleLoad() { final ListGrid grid = new ListGrid(); grid.setWidth(500); grid.setHeight(300); grid.setData(getRecords()); ListGridField nameField = new ListGridField("Name", "Name", 50); ListGridField surnameField = new ListGridField("Surname", "Surname"); grid.setFields(nameField, surnameField); RootPanel.get().add(grid); }
You have to expand column "Name" for reproduce the problem.
Thanks for your help.
Mike.
Comment