ListOptions_Rendered column value in row_rendered

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

ListOptions_Rendered column value in row_rendered

Post by Bishu »

I have a list page with extra column from ListOptions_Rendered and the column name is "new"
I want to use/get all the value of the list table including the column of ListOption_Rendered.
I use the the code $this->field->ViewValue to get the display value of the list table.

and I try to get the value of the Column of Listption_Rendered as - $this->new->ViewValue , I get a NULL value.

How can I get the value of extra column Listoption_Rendered field value in the server event of Row_rendered


mobhar
User
Posts: 11747

Post by mobhar »

The extra (new) column should be manipulated in ListOptions_Rendered, whereas the existing column from the database should be manipulated in Row_Rendered. However, have you tried using, for example, $this->ListOptions->Items["new"] in Row_Rendered?


danielc
User
Posts: 1601

Post by danielc »

To get ListOptions Column body:
$var = $this->ListOptions->Items["new"]->Body;


Post Reply