js like this
onload: function(frm) {
frm.get_field('items').grid.cannot_add_rows = true;
}
js like this
onload: function(frm) {
frm.get_field('items').grid.cannot_add_rows = true;
}
Thanks man
Worked Well
Hello,
This code worked perfectly but i want to hide add row button after 7 rows and i want to set 50 word limit on each row.
can anyone help me,
Thank you.
frappe.ui.form.on('Listing Properties', {
onload: function(frm) {
frm.get_field('key_features').grid.cannot_add_rows = true;
}
});