hi,i need to put a different script in Row_Updating server but only on grid edit mode , can we detect it ?
i do not execute the script for basic edit.maybe there is a syntaxe code like something :if ($this->isGridEdit())
{//do that}orif ($this->isEdit())
{//do that}thank you for your tips and time to read/reply me.
Those exist but they are for use on page load. When you submit the form, you should check isUpdate() or isGridUpdate() instead.
thank you.
is there any third choice to detect multi-update ?
in function Row_Rendered() , when i test isUpdate , it trigged for multi-update too whereas i would ONLY classic edit form event.
ps : in pm2020
You may check if CurrentPageID() == “update” for Multi-Update Page.
For single Edit page, then you may simply use:
if (CurrentPageID() == “edit”) {
// your code
}