How to display the name of creator in the listview?

if anyone still needs a solution for this:
just go create a client script or a new js file with the name yourdoctype_list.js
follow the documentation on how to add script for list view here:

then add the following script to the onload event:

frappe.listview_settings['Item'] = {

	onload : function(listview) {
	    
	    cur_list.columns.push({
				type: "Field",
				df: {
					label: __("Created By"),
					fieldname: "owner",
				},
			});
		cur_list.refresh(true)
	}
    
}
8 Likes