Share ideas, ask questions, and get feedback about developing for ProcessMaker
Forum rules: Please post new questions under "Developing processes & programming" for ProcessMaker 2 or 3.
By akshaydange
#786826
Hi Everyone,

I have one query in grid. I have one grid named "candidate_details". In this grid there are 9 columns. In that 8th column is approval status dropdown and 9th column is date.
If i select approval status "Rejected" then 9th column date will be disable on change of approval status. Please give me suggestion. I write js code like this
Code: Select all
$("#form\\[CSI_candidate_details_grid\\]\\[8\\]\\[hod_approval\\]").setOnchange( function() {
    
  	var totalRows = $("#CSI_candidate_details_grid").getNumberRows();
    
  	for (var i = 1; i <= totalRows; i++) {
  		var hod_approval = $("#CSI_candidate_details_grid").getValue(i, 8);
    	if (hod_approval == "Approved")
        	$("#CSI_candidate_details_grid").showColumn(i,9);
    	else 
        	$("#CSI_candidate_details_grid").hideColumn(i,9);
    }
});

Thanks for the link, amosbatto! I was searching fo[…]

Hello Please can you help me with the place where […]

Hi there, I have 3.5.7, 3.8.1 and 3.8.2 versi[…]

AI bot development involves creating intelligent b[…]