i

Please enable JavaScript to view this site.

Documentation 8.5

Access methods are used to retrieve items or access specific functionalities.

 

Class methods are specific to each element, facilitating their management and incorporating their own behavior.

Access Method

 

 

Name

Description

Result

$d.getRepeater(idElement)

Searches and gets a repeater by identifier.

 

Parameter

String idElement: Repeater identifier

Repeater

Class Methods

 

 

Name

Description

Result

getColumns()

Gets the number of columns of the repeater.

Number

getData()

Gets repeater data.

Object[]

getDataSource()

Gets the repeater datasource.

Datasource

getPage()

Gets the number of pages (pagination) of the repeater.

Number

getPerPage()

Gets the total number of items per page (pagination) of the repeater.

Number

getRows()

Gets the number of rows of the repeater.

Number

getTotalPages()

Gets the total number of pages (pagination) of the repeater.

Number

getTotalItems()

Gets the total number of items of the repeater.

Number

refreshRepeater()

Refreshes the repeater, that is, it requests data from the configured datasource again.

Repeater

setColumns(columns)

Sets a number of columns to the repeater.

 

Parameter

Number columns: Number of columns

Repeater

setDataSource(idDataSource)

Sets a datasource to the repeater.

 

Parameter

String idDataSource: Datasource identifier

 

Repeater

setPage(page)

Sets the page (pagination) of the repeater.

 

Parameter

Number page: Page number

Repeater

setRows(rows)

Sets a number of rows to the repeater.

 

Parameter

Number rows: Number of columns

Repeater

Send us your comments
Share on X Share on Linkedin Send by Email Print