0

I implementing a NSTableView but I want to disable sorting button:

enter image description here

I have tried:

   [self.tagTableView setAllowsColumnReordering:NO];

But doesn't work.Also I have look all over interface builder but I haven't found a way disable the sorting button. Any of you knows how can I disable the sorting button?

I'll really appreciate your help.

user2924482
  • 8,380
  • 23
  • 89
  • 173

1 Answers1

0

You can use these function [table setIsSortable:NO]

vaultah
  • 44,105
  • 12
  • 114
  • 143
Hitesh Surani
  • 12,733
  • 6
  • 54
  • 65