Hi,
I'm trying to set an offset to a rollOverCanvas which has SnapTo="R" - it seems the snapOffsetLeft is ignored.
I check this on the example at https://www.smartclient.com/smartcli...lloverControls
and added snapOffsetLeft: -10
BTW - I eventually want to use this with useCellRollOvers and getFrozenRollOverCanvas but it seems to behave the same as regular row-level rollovers to I'm using the simpler example here.
Here is the code:
Am I missing something?
Thanks
Gil
I'm trying to set an offset to a rollOverCanvas which has SnapTo="R" - it seems the snapOffsetLeft is ignored.
I check this on the example at https://www.smartclient.com/smartcli...lloverControls
and added snapOffsetLeft: -10
BTW - I eventually want to use this with useCellRollOvers and getFrozenRollOverCanvas but it seems to behave the same as regular row-level rollovers to I'm using the simpler example here.
Here is the code:
Code:
isc.ListGrid.create({ ID:"countryList", width:520, height:224, data: countryData, selectionType:"single", fields:[ {name:"countryCode", title:"Flag", width:50, type:"image", imageURLPrefix:"flags/16/", imageURLSuffix:".png"}, {name:"countryName", title:"Country"}, {name:"capital", title:"Capital"}, {name:"continent", title:"Continent"} ], showRollOverCanvas:true, showRollUnderCanvas:false, // disable the rollUnderCanvas because we're not using it rollOverCanvasConstructor:isc.HLayout, rollOverCanvasProperties:{ snapTo:"R", height:20, width:55, [B]snapOffsetLeft: -10, // This seems to be ignored![/B] members:[ {_constructor:"Button", title:"+", click:"isc.say('Expanded record:' + this.echo(this.parentElement.record))", height:20, width:27}, {_constructor:"Button", title:"-", click:"isc.say('Collapsed record:' + this.echo(this.parentElement.record))", height:20, width:27} ] } });
Thanks
Gil
Comment