PDA

View Full Version : [FNR] RowEditor error when scrolling the grid, if RowEditor not rendered yet.



mate17
17 Oct 2011, 7:30 AM
The code was changed in method positionButtons of RowEditor to:

int h = el().getClientHeight();
if (btns != null) {
....

So it assert (rendered : "Method must be called after the component is rendered") when the grid scrolled and the RowEditor is not rendered yet (the btns is null).

In the older version the code (2.2.3) was:

if (btns != null) {
int h = el().getClientHeight();
....


- GXT version: 2.2.5
- Host mode / web mode / both: both
- Browser and version: Firefox 3.0.x - 7.0.1; Opera 11.51
- Operating System: Windows 7
- Sample code: n.a

Thank U!

Mate

sven
17 Oct 2011, 8:15 AM
Fixed in SVN as of revision 2472

mate17
17 Oct 2011, 10:30 PM
Thank You!

It will be in the next release, will it?

sven
18 Oct 2011, 3:46 AM
Thank You!

It will be in the next release, will it?

Yes, exactly. It will be in 2.2.6