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.

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.

Complex nega-datatable demo

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.

Styled nega-datatable demo

The table is also easy to style.