| Name | Description | ||||||
| NascentTableController( {List<NascentTableColumn<O>> this.columns} {Integer this.pageLimit} ) | Creates a controller instance.Arguments
|
| Type | Name | Description |
| List<Integer> | checkedItems | List containing indexes of all displayed items that are currently checked. |
| List<NascentTableColumn<O>> | columns | A list of columns included in the table. |
| Integer | currentPage | The currently selected page. |
| Integer | pageLimit | The maximum number of items that should be displayed on each page. |
| List<O> | items | List of the currently displayed items. |
| NascentTableRefineOptions | refineOptions | Options for sorting and filtering table content. Defaults to displaying the first indexed column in ascending order. |
| Name | Return Type | Description | |||
| refresh() | Promise<void> | Refreshes the items displayed in the table. | |||
| setPage( Integer pageNumber ) | void | Displays the provided page of items.Arguments
| |||
| setPageLimit( Integer limit ) | void | Sets the item limit for each page.Arguments
| |||
| setRefineOptions( NascentTableRefineOptions refineOptions ) | void | Sets the refine options for the table.Arguments
| |||
| toggleAllChecks() | void | Toggles the checked status of all displayed items. If all items are already checked, they will be unchecked. Otherwise, they will be all checked. | |||
| toggleCheck( Integer index ) | void | Toggles the checked status of an item from a given index.Arguments
|