Garry's Mod Wiki

Revision Difference

DListView:SortByColumns#513723

<function name="SortByColumns" parent="DListView" type="panelfunc">⤶ <ispanel>yes</ispanel>⤶ <description>⤶ Sorts the list based on given columns.⤶ ⤶ All arguments are optional⤶ </description>⤶ <realm>Client</realm>⤶ <args>⤶ <arg name="column1" type="number" default="nil"></arg>⤶ <arg name="descrending1" type="boolean" default="false"></arg>⤶ <arg name="column2" type="number" default="nil"></arg>⤶ <arg name="descrending2" type="boolean" default="false"></arg>⤶ <arg name="column3" type="number" default="nil"></arg>⤶ <arg name="descrending3" type="boolean" default="false"></arg>⤶ <arg name="column4" type="number" default="nil"></arg>⤶ <arg name="descrending4" type="boolean" default="false"></arg>⤶ </args>⤶ </function>⤶ ⤶