|
Hi Guys, I hope I can get some help over here... My test codes below and I can change the background color of the view. I like to create an effect of highlighting the the row as the mouse passes by. current error is null setters on #rowOfData bgcolor if I remove the id attr i got the error that the rowOfData is undefined. Thanks in advance. Richard --------------------------- <canvas height="600" width="500"> <dataset name="myData" src=""/> <tabs x="10"> <tabpane selected="true" >List Of Accounts <view name="accountsTable"> <simplelayout axis="y" /> <view name="rowOfData" bgcolor="blue" id="rowOfData"> <datapath xpath="myData:/accounts[1]/person" sortpath="firstName/text()" /> <simplelayout axis="x" /> <text datapath="firstName/text()" /> <text datapath="lastName/text()" /> <text datapath="@show" /> <method event="onmouseover"> rowOfData.setAttribute("bgcolor","blue") </method> <method event="onmouseout"> rowOfData.setAttribute("bgcolor","white") </method> </view> </view> </tabpane> <tabpane visible="false">List Of Studies</tabpane> </tabs> </canvas> |
- [Laszlo-user] cant change bgcolor of view Richard Reyes
- Re: [Laszlo-user] cant change bgcolor of view David Russell
- Re: [Laszlo-user] cant change bgcolor of view Richard Reyes
- Re: [Laszlo-user] cant change bgcolor of view David Russell
- Re: [Laszlo-user] cant change bgcolor of vi... Richard Reyes
- Re: [Laszlo-user] cant change bgcolor ... David Russell
- Re: [Laszlo-user] cant change bgco... Richard Reyes
- Re: [Laszlo-user] cant change ... David Russell
- Re: [Laszlo-user] cant change bgcolor of view Richard Reyes
