Remove name from the list view

Hello,

How can I remove “name” field in the list view?

Hello,

For the Name field, uncheck “In List View”. What is the primary id for this doctype?

@umair

I did not create name field so I cannot uncheck it in “In list View” and the value is populated by frappe. Primary key is name and is set automatically by frappe. Any idea how to remove the name field to in list view?

@ccfiel set a Title Field (device name) in the DocType

1 Like

@rmehta I tried your suggestion but it did not work nothing happens but I change the title field custom form of the device something happen the name field went to the right most part

Is this normal?

@ccfiel yeah thats standard behavior

If you want to hide the field, add a device_list.js file and set a property hide_name_column: true like: https://github.com/frappe/frappe/blob/develop/frappe/core/doctype/file/file_list.js#L4

4 Likes

@rmehta thanks it works! :slight_smile:

1 Like