File

projects/ornamentum/src/data-table/models/data-table-request-params.model.ts

Description

Data table parameters model.

Index

Properties

Properties

fields
fields: DataTableQueryField[]
Type : DataTableQueryField[]
Optional

Sort columns.

limit
limit: number
Type : number
Optional

Data limit value (page size).

loadData
loadData: boolean
Type : boolean

True if re-fetch data load mode is triggered.

offset
offset: number
Type : number
Optional

Data offset value.

import { DataTableQueryField } from './data-table-query-field.model';

/**
 * Data table parameters model.
 */
export interface DataTableRequestParams {
  /**
   * True if re-fetch data load mode is triggered.
   */
  loadData: boolean;

  /**
   * Data offset value.
   */
  offset?: number;

  /**
   * Data limit value (page size).
   */
  limit?: number;

  /**
   * Sort columns.
   */
  fields?: DataTableQueryField[];
}

result-matching ""

    No results matching ""