feat(ui): reusable DataTable component
Generic client-side table: per-column sort, in-header filters (text/select/multi), built-in pagination with a user-set page size (incl. All) and an editable jump-to-page box. Sort/filter/page/size persist to localStorage (survive F5). Falls back to a compact card list below md. Intended for reuse across modules (channels now, playlists next).
This commit is contained in:
parent
8faa7b0919
commit
123b024b19
4 changed files with 466 additions and 0 deletions
15
frontend/src/i18n/locales/hu/datatable.json
Normal file
15
frontend/src/i18n/locales/hu/datatable.json
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"filter": "Szűrés",
|
||||
"clear": "Törlés",
|
||||
"all": "Mind",
|
||||
"rowsPerPage": "Sor/oldal",
|
||||
"noOptions": "Nincs lehetőség",
|
||||
"empty": "Nincs megjeleníthető elem.",
|
||||
"pager": {
|
||||
"prev": "Előző",
|
||||
"next": "Következő",
|
||||
"page": "{{page}}. oldal / {{total}}",
|
||||
"pageLabel": "Oldal",
|
||||
"ofTotal": "/ {{total}}"
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue