Rename Doctype List Column Name

Rename doctype list column name “ID” to some “TEXT”

Hi @Sanya,

That for, please apply the listview client script.

frappe.listview_settings['Your DocType'] = {
    onload: function(listview) {
        $(".list-row-col span:contains('ID')").each(function() {
          $(this).text("YOUR-TEXT");
        });
    }
};

Output:

Please set your doctype according to.

Thank You!

1 Like

Thanks! It worked.

Is there a way we can get rid of ID search bar and how do we add search based on other fields?

I haven’t idea about it. so Please create a new thread for the new issue.
Frappe has a large community. so if anybody has an answer then will reply to you.

Have a good day! :slight_smile:

Thank You!