Hi,
I have a MarkupAdminDataTable and each row contains an edit-link of the entry.
$table->row([$guest->title => $guest->editUrl, ...]);
But I don't want the edit window to open, instead I want to use the "pw-panel" Class and after saving the modification the page need to be reloaded also.
I don't know how to include
addClass('pw-panel');
https://processwire.com/api/ref/markup-admin-data-table/row/
But I need a combination of the last two options like this:
$table->row([array($guest->title => $guest->editUrl, 'pw-panel'), ...]);
but than only 'pw-panel' get written in the field, no title and no url...
I tried also to put the 'pw-panel' class to the complete <tr> but that in't doing the job either.
$table->row([$guest->title => "$guest->editUrl", ...], ['class'=>'pw-panel']);
Thank you