How do you set a column width (via code) in View Pro? There doesn't appear to be a VP function to do this, and I am having trouble getting a SpreadJS function to work ... this is my code to set column 0 to 60mm:
$indivSheet.data.dataTable[*"0"*].width:=*New object* // col $indivSheet.data.dataTable["0"].width.setColumnWidth:="60mm" Also tried: $indivSheet.data.dataTable["0"][*"0"*].width:=*New object* // col $indivSheet.data.dataTable["0"]["0"].width.setColumnWidth:="60mm" .. and a few other variations. But nothing works! Any idea what I am doing wrong? PB -- ************************************************* CatBase - Top Dog in Data Publishing tel: +44 (0) 207 118 7889 w: http://www.catbase.com skype: pat.bensky ************************************************* ********************************************************************** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

