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:grid2column [2019/06/21 09:10]
agcyphers
web:grid2column [2019/09/17 13:30] (current)
agcyphers [Properties]
Line 35: Line 35:
 | Title | [[http://​developer.xojo.com/​string|String]] | ""​ | The displayed title for the column in the header. | | Title | [[http://​developer.xojo.com/​string|String]] | ""​ | The displayed title for the column in the header. |
 | Tooltip | [[http://​developer.xojo.com/​string|String]] | ""​ | The tip text displayed when the mouse hovers over the column header. | | Tooltip | [[http://​developer.xojo.com/​string|String]] | ""​ | The tip text displayed when the mouse hovers over the column header. |
-| Visible | [[http://​developer.xojo.com/​boolean|Boolean]] | True | The current visible state of the column. This should not be modified outside of the ShowColumn and HideColumn methods of the grid. | +| Visible | [[http://​developer.xojo.com/​boolean|Boolean]] | True | The current visible state of the column. | 
-| Width | [[http://​developer.xojo.com/​integer|Integer]] | 0 | The starting ​width for the column. |+| Width | [[http://​developer.xojo.com/​integer|Integer]] | 0 | The width for the column. |
  
 ==== Examples ==== ==== Examples ====
-There are currently no examples for this class.+=== Single Column Style === 
 +You can do this when you create it: 
 +<code xojo>​myColumn.Style = myWebStyle</​code>​
  
 +or at any point after initializtion:​
 +
 +<code xojo>Dim myColumn As GraffitiGridColumn = myGrid.Column("​ColumnID"​)
 +If Not IsNull(myColumn) Then
 +  myColumn.Style = myWebStyle
 +End If</​code>​