I want to Remove Listview Sorting link from some fields..
for example- if I have Name ,Email,Class, program, Cources So i want to Remove clicable sorting link from class abd program....
Any One help me ...
Thankz
I want to Remove Listview Sorting link from some fields..
for example- if I have Name ,Email,Class, program, Cources So i want to Remove clicable sorting link from class abd program....
Any One help me ...
Thankz
Hi MK Gupta,
We can remove sortable option by add one parameter in field array in list.php in below path
custom/modules/<customModuleName>clients/base/views/list/list.php
Search for array for your field
Add sortable=>false into that array.
Perform repair and rebuild.
Hope this helps.
Custom/module/module name/metadata/listviewdefs.php
add-->
sortable=>false
that column you e=want to remove link or sorting
into that array.
thakz
You should add 'sortable'=>false into you vardefs, otherwise whenever someone edits list view in studio it will overwrite you changes in list view.