List view Auto Filter Disable (Read Only)

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');

}
}