Skip to main content

data

Required. The data collection of a widget to set into the pagination

data: DataCollection;

Example

// initialize the List widget
const list = new dhx.List("list_container", {
css: "dhx_widget--bordered"
});

// load data into the list
list.data.parse(list_data);

const pagination = new dhx.Pagination("pagination_container", {
// load the list data into the pagination
data: list.data
});