Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IDefaultGetData<T>

A default implementation of the getData function that will apply the filter, orderBy and paging values from the NgTableParams instance supplied to the data array supplied.

A call to this function will:

  • return the resulting array
  • assign the total item count after filtering to the total of the NgTableParams instance supplied

Type parameters

  • T

Hierarchy

  • IDefaultGetData

Callable

  • A default implementation of the getData function that will apply the filter, orderBy and paging values from the NgTableParams instance supplied to the data array supplied.

    A call to this function will:

    • return the resulting array
    • assign the total item count after filtering to the total of the NgTableParams instance supplied

    Parameters

    Returns T[]

Index

Methods

applyPaging

  • Convenience function that this service will use to apply paging to the data rows.

    Returns a slice of rows from the data array supplied and sets the NgTableParams.total() on the params instance supplied to data.length

    Parameters

    Returns T[]

getFilterFn

getOrderByFn

Generated using TypeDoc