Garry's Mod Wiki

DListView:AddColumn

  Panel DListView:AddColumn( string column, number position = nil )

Description

Adds a column to the listview.

Arguments

1 string column
The name of the column to add.
2 number position = nil
At which position to insert the new column compared to the other columns. Set to 1 to add the new column before all other columns.

By default the column will be placed after all columns.

Returns

1 Panel
The newly created DListView_Column.