Skip to main content

css

adds style classes to the pagination

css?: string;

Example

<style>
.custom_class {
margin: 0px;
}

.custom_class button span.dxi {
color: #5858E3;
}
</style>

const pagination = new dhx.Pagination("pagination_container", {
css: "custom_class"
});

Related sample: Pagination. Custom style

Note, that the DHTMLX library provides a set of own CSS classes that you can also apply to change the appearance of Pagination:

const pagination = new dhx.Pagination("pagination_container", {
css: "dhx_widget--bg_white dhx_widget--bordered"
});