row_rendered remove checkbox for multi-delete/multi-update

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
konfuzion
User
Posts: 378

row_rendered remove checkbox for multi-delete/multi-update

Post by konfuzion »

Is it possible to remove the checkbox for a certain row based on condition in list page for multi-delete/multi-update?

For example:

ROW_RENDERED:

if ($this->myfield->CurrentValue == 0) thisCheckboxVisible = false;

mobhar
User
Posts: 11709

Post by mobhar »

Since Checkbox control in List Page is part of ListOptions object, then you should use ListOptions_Rendered server event.


konfuzion
User
Posts: 378

Post by konfuzion »

Tks, working

if ($this->myField1->CurrentValue == 0) $this->ListOptions["checkbox"]->Body = NULL;

Post Reply