Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
web:grid2 [2019/04/12 15:08]
agcyphers [Common Problems]
web:grid2 [2019/08/23 13:33] (current)
agcyphers [Notes]
Line 150: Line 150:
 === Column Direct Modification === === Column Direct Modification ===
 For GraffitiWebGrid 2.0, much of the functionality for manipulating Column properties has been moved from the GraffitiWebGrid class to GraffitiWebGridColumns. This allows you to do things like: For GraffitiWebGrid 2.0, much of the functionality for manipulating Column properties has been moved from the GraffitiWebGrid class to GraffitiWebGridColumns. This allows you to do things like:
-<code xojo>dim colorColumn as GraffitiWebGridColumn = gridInstance.Column( "​colorval"​ ).Visible = False</​code>​+<code xojo>dim colorColumn as GraffitiWebGridColumn = gridInstance.Column( "​colorval"​ ) 
 +cololColumn.Visible = False</​code>​
  
 === Row Direct Modification === === Row Direct Modification ===
-As withe Column Direct Modification above, Rows are implemented in the same fashion, allowing:+As with Column Direct Modification above, Rows are implemented in the same fashion, allowing:
 <code xojo>dim colorColumn as GraffitiWebGridColumn = gridInstance.Column( "​colorval"​ ) <code xojo>dim colorColumn as GraffitiWebGridColumn = gridInstance.Column( "​colorval"​ )
-dim rowZero as GraffitiWebGridColumn ​= gridInstance.Row( 0 )+dim rowZero as GraffitiWebGridRow ​= gridInstance.Row( 0 )
 rowZero.Cell( colorColumn ) = RGB( 0, 0, 0 )</​code>​ rowZero.Cell( colorColumn ) = RGB( 0, 0, 0 )</​code>​