Hi there,
I'm having some strange problems setting the grid's row height with smart rendering activated. When I'm scrolling, I get some sort of partial rendering of the lines (I attached a screenshot to show what exactly happens).
Now, if I leave the lines to their default height, the problem doesn’t show up… but the default height is 20px which I find to be a little on the narrow side. I’ve tried changing the value in the grid’s CSS, which caused the bug initially. Then, I moved things to the XML with this line and setting the awaited row height in my html:
// in my php script
$output .= "<row id='" . $ligne['ID'] . "' class='myHeight' style='height:30px'>\n";
// and in my HTML (code not actually physically under the last line)
mygrid.setAwaitedRowHeight(30);
Obviously, the XML is well constructed since the results show up in the grid, but every time I dare scroll, the display ends up garbled like in my screenshot. Granted, I have some lines that are not “database bound” (the everyday total) so I think that might actually be what’s causing the problem, but why then does it work with the default height?
Any idea what’s going on?
Thanks in advance
Osu