I am trying to format the Item List view by following this.
The issue I am facing is, the formatters I am defining are working fine with default ERPNext fields, but are not applying to the custom fields I have added.
For Example:
frappe.listview_settings['Item'] = {
formatters: {
item_group(val,col,row) {
return val ? val.bold();
},
workflow_state(val,col,row){
return val ? val.bold() : "N/A";
},
etsy_listing_id(val,col,row){
return val ? val.bold() : "N/A";
}
}
};
This is rendering as this:
Help is highly appreciated
Thanks
ERPNext: v12.15.0 (version-12)
Frappe Framework: v12.13.0 (version-12)