I want to hide this ID from list view i have try this client script but not work

i want to hide this ID from list view i have try this client script but not work


Please check the reference: How can i hide ID from grid - #2 by NCP

Hi @NCP i can remove title from view setting and save it then title field not shown in list view

but when i use this script to hide ID then ID not hide from list view
means both remove title from view setting and this script not work together

frappe.listview_settings[‘Your_DocType’] = {
hide_name_column: true
};

Check your previous post: In the list view can we hide or remove this title because its standard but don't want - #2 by NCP

Yes correct i want to hide both Title and ID from list view
but i try its not working

I applied without the code, and worked properly.

If title set a a “Is List View” then remove it. If you have to work hard, you will get success :wink:

Otherwise set the another field name in the title if you don’t want to ID in first place.