Please help.
How to remove the Delete button on grid edit. i used the code below, but even the addblankrow was also hidden.
i need to hide the delete button only
$this->AllowAddDeleteRow = FALSE;
Please help.
How to remove the Delete button on grid edit. i used the code below, but even the addblankrow was also hidden.
i need to hide the delete button only
$this->AllowAddDeleteRow = FALSE;
Thank you so much arbei... Your such a gift in this forum.
Your unselfishness, patience and assistance means a lot for us amateur developer.
Every project we accomplished we credit your contributions
Delete buttons in Grid Edit mode are located in each row. It is identified by "griddelete" name. To remove those buttons, then you should use "ListOptions_Rendered" server event. This event will be executed when a row is rendered in that Grid Edit.
In v2018, simply put the following code in "ListOptions_Rendered" server event:
if ($this->IsGridEdit()) $this->ListOptions->Items["griddelete"]->Visible = FALSE;
Thank You Mobhar. You have been always an answer to our inquiries.
Your assistance means living to us. May God always blessed you always.
Your the reason why i love phpmaker.