How can we hide item name from item table in print designer

image
how can i hide item name and only show item code here

me too i need to know up this issue and also PDF in above the

@ARK_143
here is the script for that
frappe.form.link_formatters[‘Item’] = function(value, doc) {
if(doc.item_code && doc.item_name !== value) {
return doc.item_code;
} else {
return value;
}
};

change the name item to your child table name it will remove the item code

i already resolve this in UI via creating white all text and border. but the next problem is this


the grey color in the table header name i can not remove this color

yeah i asked this from their team they say its still in development process so we will have to wait for the final release as it is beta version

1 Like

thank you brother I will wait for the upgraded version of print designer but still this working so far I will just tell them still in progress.

1 Like

In the latest version of the Print Designer, this issue is resolved. Once you save the print template and view it on the document’s Print View page, only the item code will be displayed.

For reference, please check the video below.
https://github.com/user-attachments/assets/9e192577-0053-4853-a808-dbba99bee236

Alternatively, you can use Jinja code in the Print Designer table column as shown below:
{{ row.item_code }}

For further clarity, refer to the video linked below.
https://github.com/user-attachments/assets/eab9066d-f30f-4644-8fdf-78b9a8230342

1 Like

when did the latest version released

The attached video demonstrates in above message is from the latest version of Print Designer v1.4.3.

1 Like