-
|
The edit_url and delete_url parameters in the table component are displayed in columns with corresponding names in English. Is it possible to rename the column names, perhaps in another language? The same applies to the actions parameter in the row in the JSON form that has the Actions column header, as in the "CRUD with authentication" example. I'd also like to change the name of this row. Furthermore, is there a way to move individual action buttons outside the table, but for the selected row in the table? Or is this functionality not available? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
You can use _sqlpage_actions to create an icon button with a custom title. https://sql-page.com/component.sql?component=table
You can do that by writing your own custom CSS. |
Beta Was this translation helpful? Give feedback.
-
I see. I might be wrong, but I think standard elements should have custom labels. Otherwise, they're immediately considered unusable for languages other than English.
Unfortunately, I'm not that advanced yet. It would probably be nice to have at least a feature like webmail clients, where you can mark lines in the email list with checkboxes and then apply a batch operation to them. One more question. Can a combination of fields be used as the {id} of a table row, since tables don't always use a primary key consisting of a single field? It's clear that field concatenation can be used, but what if we could use, for example, JSON to describe the {id} field, with the fields: parameter_name and field name, so that the {id} would immediately contain part of the parameter string of the standard form: "name=value[&name=value, ...]" |
Beta Was this translation helpful? Give feedback.
You can use _sqlpage_actions to create an icon button with a custom title.
https://sql-page.com/component.sql?component=table
You can do that by writing your own custom CSS.