Hi All,
In List View,if a user clicks any of the row it will get auto filtered.it Should not Happen
In this image, if a user clicks any value from the “Division Name” column (e.g., the “Block D” row), it gets automatically filtered. This should not happen. Is it possible to prevent this behavior, even though I have already hidden the filter option for the User…
Hi @Pradeep_Manoharan ,
The behavior needs to be changed at the core level through customization.
Hi @Rehan_Ansari
It’s worked.I have run with this code.
listview.$result.off(‘click’);
1 Like
Nice 
can you explain how you do that bit more? using Client Script ?
Hi @Rehan_Ansari
I have not used client script.In Back End i have written this code,
onload: function(listview) {
if (!frappe.user.has_role(‘Administrator’)) {
listview.$result.off('click');
}
}