Hi,
how can i disable sorting a column within a script report ? according to the frappe datatable doc i have to set sortable
option as false but when i am passing this option within my columns (in .py file) it does not work
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: