ajax - paulmaclean/datatables.webcomponent GitHub Wiki

ajax

Type: AjaxOpts

Default:

{ 
    url: ''
}

The ajax property sets the options for ajax retrieval of data.

example

render() {
    return html`
        <example-data-table .ajax="${ {url: 'http://some-api/endpoint'} }"></example-data-table>
    `
}