Tables

Tables in Framelix are an important part, as Framelix is basically a data managament Framework in it's core. Tables are the most used way to display a list of entries. It includes many features like client side table sort, drag&drop row sort, dynamic adding data and rows, checkboxes to mark rows and many more.
The feature uses both Javascript for frontend rendering and PHP for backend data management.
You generally don't need to create any Javascript code to render tables. Everything is created and rendered automatically, out of your table data you define with PHP. Javascript is later available to modify the table at runtime, if required.
Let's see some examples.

Tables are even more powerful in combination with StorableMeta and Storables, as they can be auto-generated, with all properties that are available from the database, with a few lines of code.

You can read out more features, flags and functions directly from source at Framelix/js/framelix-table.js and Framelix/src/Html/Table.php.