HOW TO - multiplce caneditrow & candeleterow

OndrejH

Member
To the topic question published earlier in the other section of this forum.

Q: How to combine two or more conditions to allow can edit row or can delete row? Example:

return '{intercambio___confirmacion1}' == '1' && '{intercambio___confirmacion2}' == '1';
This seems not to work unless you separate the two conditions to two consequtive plugins as:

1st caneditrow:
return '{intercambio___confirmacion1}' == '1';

2nd caneditrow:
return '{intercambio___confirmacion2}' == '1';

Voil?, combining two conditions is possible.
Do not forget to set correct access level of the conditional elements. You can hide them by css class.
 
We are in need of some funding.
More details.

Thank you.

Staff online

Members online

Back
Top