Link another field to have same link of View Icon

Hi,
PHPMaker 2026
in the list view, I want to link one of the field on the list view to link to VIEW link
how can I do it?
Buttons | Id | MaintDate | Note
View | 1 | 2026-06-08 | test
let's say I want MaintDate field, like 2026-06-08 be clickable like click on the view

function ListOptions_Rendered(): void
{
$this->MaintDate->ViewValue='<a class="ew-row-link ew-view dropdown-item" data-table="maintenances" data-caption="View" data-ew-action="modal" data-action="view" data-ajax="false" data-key="'.$Id.'" data-url="maintenancesview?showdetail=&amp;page=1" data-btn="null" href="#"><i data-phrase="ViewLink" class="icon-view ew-icon mr-2" data-caption="View"></i> '.$this->MaintDate->ViewValue.'</a>';
}

but it is not working because of "page=x" var
it was working in previous versions

I don't understand about your example. In addition, what does "page=x" var mean?

Hi,
Thanks for your response,
I want to click on the dates on the Date column and works as click on View button
for example on row with id 4207 click on the 2026-06-03 and it works like I clicked on the View button (It is more userfriendly to open the drop down buttons and click on View but I don't want to show other icons that's why I want to keep all of the buttons in the drop down)
I used ListOptions_Rendered() to change the ViewValue of $this->MaintDate->ViewValue
but I am not sure what should I assign to it to works exactly like View button

function ListOptions_Rendered(): void
{
$this->MaintDate->ViewValue='<a class="ew-row-link ew-view dropdown-item" data-table="maintenances" data-caption="View" data-ew-action="modal" data-action="view" data-ajax="false" data-key="'.$Id.'" data-url="/isologic/maintenancesview?showdetail=&amp;page=1" data-btn="null" href="#"><i data-phrase="ViewLink" class="icon-view ew-icon mr-2" data-caption="View"></i> '.$this->MaintDate->ViewValue.'</a>';
}

I checked the View button like to copy and use the same link but as you see below there is page=1 at the end of the URL that changed for each row, that's why I can not use it (it changes with each row)
data-url="/isologic/maintenancesview?showdetail=&amp;page=1"

You may try: How to Display ViewPage in Modal Dialog on Row Click (v2026)