Open fullscreen | Source on github | Edit on stackblitz
This is a small example to get started with ActiveWidgets datagrid.
First, import the library:
import '@activewidgets/jquery';
Then initialize or load the data array:
let rows = [
{ message: 'Hello, World!' }
];
Finally, create the component and assign the data:
$('ax-datagrid')
.prop('rows', rows)
.mount();
Thats all!
Read more: