How can I set the link in first column?
It feels random for me.
I know, that the dropown is managed in entity list -> options -> grid configuration -> item actions.
But which action is used for first column in table?
Thanks for help,
AndKan.
Hi @AndKanPA ,
By default when we are using entitylist first column will be rendered as a link to the record (if it's not an email). If you want to change that behaviour or add additional links (for example to the related records) you can check this official example on rendering entitylist by yourself.
The "default" is the edit mode of record. This is, what's not nice.
A readonly mode would be okay (and not as popup 😉
Ok, of course I can build the list with liquid and page template...
A heavy work for a simple link ...
But perhaps a way to keep filter values alive after come leave and back to list page.
Thanks,
AndKan.
Hi @AndKanPA ,
So your issue is with an opening record in the edit mode? Well if you want to open all records always in read-only mode you can do next: on the Entity List configuration, we can specify Web Page for Details View. There you specify a web page that will have an entity form that will be in read-only mode.
And that seems to be random ...
I added a webpage in entity list:
Which has defined a readonly form:
But as link for first column is used the edit link from item actions (2nd of 3 actions).
Edit page is also defined as webpage with edit form.
I remove the edit link from item actions an detail page is used.
Added edit link again, placed as 2nd action again and it uses the edit action as before 😞
Seems edit item actions has higher priority ... ?
Another test: Used the details webpage for edit action and then popup readonly is used for link.
Solution, which works for me: In item actions only actions of type "details" defined; a popup, an edit link and a detail page.
My edit action uses a webpage with entity form with mode 'edit'.
And in this way the last of item actions is used in link of first column.
Anyone out, who may reproduce this?
Best regards,
AndKan
User | Count |
---|---|
9 | |
7 | |
7 | |
5 | |
2 |
User | Count |
---|---|
20 | |
20 | |
18 | |
13 | |
4 |