How can i hide ID from grid

In leave application i want to hide ID column from grid

From grid i want to hide ID column


Use like

frappe.listview_settings['Your_DocType'] = {
	 hide_name_column: true
1 Like

@NCP what i hav put in place of data-field name = name

Hide name filter.

Already added a comment in the code.

Thank you it’s working