{hero}

displayStart

Since: DataTables 1.10

Initial paging start point.

Description

Define the starting point for data display when using DataTables with pagination (paging).

Note that this parameter is the number of records (counting from 0), rather than the page number, so if you have 10 records per page and want to start on the third page, it should be 20 rather than 2 or 3.

Type

This option can be given in the following type(s):

Default

  • Value: 0

Example

Show row 20 as the first row in the table on startup:

new DataTable('#myTable', {
	displayStart: 20
});

Related

The following options are directly related and may also be useful in your application development.