Basic nega-datatable demo
Column cells are defined by elements with the slot
property. Headers are automatically generated, unless there's a slot
postfixed with :header
.
If you are viewing from webcomponents.org, the demo may not work due to incompatibilities with lit-html and the site. Click here to visit the working demo.
Column cells are defined by elements with the slot
property. Headers are automatically generated, unless there's a slot
postfixed with :header
.
This datatable shown to be, selectable, use a custom web component with mixed data, and a simple web component.
Notice how the custom web component with the checkbox does not select the row. This is because row selection is manual, and customizable.
The table is also easy to style.