Tornado API Library - V12.30.08

z.dbGridCols Property

The number of 'Snake' columns in a Grid display.

Product Version

All
[VisualBasic]
PublicPropertydbGridColsAsInteger
[C#]
publicintdbGridCols{set;}

Property Value

Obj.GridCols = ColNumber

ColNumber = Number of Form Columns to 'snake'

QuickProp Keyword Abbreviation

gc

Remarks

How can you display a Grid with 256 Rows? (Example only show 10 rows, for 256 rows, split in more Cols).

Example

In the following example Gc=2 will split the Grid display into 2 columns.

<script language="VB" runat="server">
Sub Page_Load(Src As Object, E As EventArgs)
  Dim Gc As New Tornado.z
  Gc.dbQP = "U=1| Ps=10| D=NWIND| Q=Orders| S=8| M=ty=dh!SysInd=t|" & _
    "Gdf=0| Gc=2| TH=title=Grid Snake Demo"
  Gc.ASPdbNET()        
End Sub
</script>

See Also

z Class | Tornado Namespace | dbMode | dbGridDisplayFlds | dbFormCols