Garry's Mod Wiki

Revision Difference

DListView:SetSortable#550364

<function name="SetSortable" parent="DListView" type="panelfunc"> <ispanel>yes</ispanel> <description> Enables/disables the sorting of columns by clicking. <note> This will only affect columns that are created after this function is called. Existing columns will be unaffected. </note> </description> <realm>Client</realm>⤶ <realm>Client and Menu</realm>⤶ <args> <arg name="isSortable" type="boolean">Whether sorting columns with clicking is allowed or not.</arg> </args> </function>