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);
    }
});
Want to create your own meme coin?

In the world of cryptocurrencies, a unique and exc[…]

The market for cryptocurrencies is demonstrating a[…]

What's SAP FICO?

Embarking on a dissertation can be one of the most[…]

Hello. For rental housing, there are software solu[…]