Hi,
I need to change the color of the section, can we change the color of the section with the different colors?
e.g. we have two sections separate with section break first section is A and the second is B. Can we change the color of these sections?
frappe.ui.form.on('DocType', {
refresh: function(frm) {
// select the first row in the child table
var rows = document.getElementsByClassName("grid-row");
for (var i = 0; i < rows.length; i++) {
rows[i].style.backgroundColor = "cadetblue";
}
}
});