Garry's Mod Wiki

DListView:SetSortable

  DListView:SetSortable( boolean isSortable )

Description

Enables/disables the sorting of columns by clicking.

This will only affect columns that are created after this function is called. Existing columns will be unaffected.

Arguments

1 boolean isSortable
Whether sorting columns with clicking is allowed or not.