Questions and discussion about developing processes and programming in PHP, JavaScript, web services & REST API.

Moderator: amosbatto

Forum rules: Please search to see if a question has already asked before creating a new topic. Please don't post the same question in multiple forums.
#825448
Hi,
I write a code like this:
Code: Select all
$("#grid_test").onDeleteRow(function(oGrid, aRow, rowIndex) {
		if(aRow[0][1].getValue() == 1){
			alert('This is error!');
			return false;
		}
	});
But when I run the code , I get alert but the selected row id deleted!
How can I do this example?

Please help me
Thnaks

I recently completed a book on ProcessMaker - &quo[…]

Hi, In https://wiki.processmaker.com/3.0/Report_T[…]

reopen form in the draft

Hi Admin, I use function:onDeleteRow on grid the[…]

Hi, since bugs.processmaker.com in no longer avail[…]