Hi,
Review comments child table have attach button …it does not have any attach files in the table it should not display attach button .
My issue is i’m not attach file in second row but attach button shown and i try to like this in js
for (var i = 0; i < frm.doc.review_comments.length; i++){
if (frm.doc.review_comments[i].attach){
cur_frm.fields_dict[“review_comments”].grid.toggle_display(“attach”, true);
cur_frm.refresh_fields();
}
else if(frm.doc.review_comments[i].attach == undefined){
cur_frm.fields_dict[“review_comments”].grid.toggle_display(“attach”, false); cur_frm.refresh_fields();
Any one help me,
Thanks for advance.