Garry's Mod Wiki

Revision Difference

DListView:AddColumn#546268

<function name="AddColumn" parent="DListView" type="panelfunc"> <ispanel>yes</ispanel>⤶ <description>Adds a column to the listview.</description> <realm>Client</realm> <args> <arg name="column" type="string">The name of the column to add.</arg> <arg name="position" type="number">Sets the ordering of this column compared to other columns.</arg> <arg name="position" type="number">Sets the ordering of this column compared to other columns. Starting index is 1.</arg> </args> <rets> <ret name="" type="Panel">The newly created <page>DListView_Column</page>.</ret> </rets> </function>