If we resize the browser's width to make grid's horizontal scrollbar show and then hide, debug will report some warnings.
Here is my test file:
<canvas debug="true">
<dataset name="contacts" request="true"
src="
http://www.openlaszlo.org/lps/demos/contacts/contactsdata.xml"/>
<view width="${parent.width/2}">
<grid datapath="contacts:/resultset" width="${parent.width}">
<gridcolumn showheader="false" width="50">
<view bgcolor="#CCCCCC" width="${parent.width}" placement="header"
height="${parent.immediateparent.height-1}"/>
<text datapath="position()"/>
</gridcolumn>
<gridcolumn width="200"> Name
<text datapath="@displayname"/>
</gridcolumn>
<gridcolumn sortable="false"> Home</gridcolumn>
</grid>
</view>
</canvas>
After resizing the browser to make horizontal scrollbar show and hide, the warnings will be like this:
WARNING: null setters on «lz.scrollbar» scrollable true
WARNING: base/basescrollbar.lzx:322: reference to undefined property 'scrolltrack'
WARNING: null setters on «lz.basescrollthumb» width 14
WARNING: base/basescrollbar.lzx:284: reference to undefined property 'scrolltrack'
WARNING: null setters on «lz.basescrollthumb» x 0
WARNING: null setters on «lz.basescrollthumb» width 14
WARNING: null setters on «lz.scrollbar» scrollable false
.
.
.
It might be fixed if we modify the state in grid.lzx,
<state apply="${ parent.showhscroll &&
parent.needshscroll &&
parent.sizetoheader == false}">
<scrollbar axis="x" scrolltarget="classroot.header.hcontent"/>
</state>
to
<scrollbar axis="x" scrolltarget="classroot.header.hcontent"
visible="${ parent.showhscroll &&
parent.needshscroll &&
parent.sizetoheader == false}"/>
-Yuwen