If we use createRecordComponents to add some images to the grid record, when a ListGridField gets sorted and then the grid is scrolled, the records become buggy (see the attached images).
After the bug happens, some record images are not drawn, some records increase their heights or records start overlapping...
So steps to reproduce:
1) Click on a field in order to sort it.
2) Start scrolling the in order to load the undrawn fields.
I have attached a very simple TestCase that shows the problem.
Another observation is that when I add an override of updateRecordComponent like this:
there are no more missing images, but the grid records still get stretched out (see img: stretched.jpg)
Windows 7 64 bit.
Reproducible on IE11 and Chorme.
GWT 2.7, Smartgwt 5.0 LGPL.
SmartClient Version: v10.0p_2015-05-25/LGPL Development Only (built 2015-05-25).
After the bug happens, some record images are not drawn, some records increase their heights or records start overlapping...
So steps to reproduce:
1) Click on a field in order to sort it.
2) Start scrolling the in order to load the undrawn fields.
I have attached a very simple TestCase that shows the problem.
Another observation is that when I add an override of updateRecordComponent like this:
Code:
@Override public Canvas updateRecordComponent(ListGridRecord record, Integer colNum, Canvas component, boolean recordChanged) { return createRecordComponent(record, colNum); }
Windows 7 64 bit.
Reproducible on IE11 and Chorme.
GWT 2.7, Smartgwt 5.0 LGPL.
SmartClient Version: v10.0p_2015-05-25/LGPL Development Only (built 2015-05-25).
Comment