Garry's Mod Wiki

DGrid:GetCols

  number DGrid:GetCols()

Description

Returns the number of columns of this DGrid. Set by DGrid:SetCols.

Returns

1 number
The number of columns of this DGrid