Disable sorting on one column only in a paging grid

I am currently working on a paging Grid. I want to achieve below functionality . Any help is appreciated .

-> I have around 10 columns . I just want to disable sorting on only one column and retain sorting on all other columns. Is there a way to achieve this . If Yes please share.

OriginalPostID-216660

OriginalPostID-216660

  Discussion posts and replies are publicly visible

Parents
  • @harshav May I please know what is "block" as per you? As per my knowledge, if you want to provide a column with sorting capability, feed the 'field' attribute of a!gridTextColumn() with a value which is present in the CDT array or label-value pairs as a field and then sorting works.

    If you aren't interested in the sorting for a given column (or field), feed the 'field' attribute of a!gridTextColumn() with a invalid(that doesn't match a field in CDT)/null value and then sorting stops working for the corresponding column.
Reply
  • @harshav May I please know what is "block" as per you? As per my knowledge, if you want to provide a column with sorting capability, feed the 'field' attribute of a!gridTextColumn() with a value which is present in the CDT array or label-value pairs as a field and then sorting works.

    If you aren't interested in the sorting for a given column (or field), feed the 'field' attribute of a!gridTextColumn() with a invalid(that doesn't match a field in CDT)/null value and then sorting stops working for the corresponding column.
Children
No Data