I find this method to achieve the same goal. It simply removes the element containing the sort options from all columns upon loading the report results (put in the .js file):
after_datatable_render: table_instance => {
$("div.dt-dropdown").hide()
},
Reference:
Is there a way to hide the row numbers that appear in the first column of any report?
we don’t define the Sr No in the report and row[0] is the 2nd column after it ,
How can i hide the row ,Sr nos?
Reason i want this — Better auditing and clarity really , i have hidden duplicate fields from report to only show one per each group.see below
[image]
Now the second customer is showing sr no 5 , i cant seem to make it 2.
is there a way to completely hide this column ?
Thanks