Skip to content

Files

Latest commit

 

History

History
60 lines (42 loc) · 1.45 KB

Vuetable-Computed.md

File metadata and controls

60 lines (42 loc) · 1.45 KB

Vuetable - Computed Properties

# countTableData

  • return: Number

  • description

    Return the number of rows for the current data or zero (0) if the tableData is null.

# countVisibleFields

  • return: Number

  • description

    Return the number of visible fields in the table by checking the field's visible option.

# displayEmptyDataRow

  • return: Boolean

  • description

    Determine if Vuetable should display empty data row message.

# lessThanMinRows

  • return: Boolean

  • description

    Determine if the number of data rows available is less than the number specified in min-rows prop.

# blankRows

  • return: Number

  • description

    Return the number of blank rows that Vuetable needs to render. If the number of row data is greater than or equal to min-rows, it returns 0.

# useDetailRow

  • return: Boolean

  • description

    Determine if detail row should be rendered by inspecting the availability of the data and various properties.

# isApiMode

  • return: Boolean

  • description

    Determine if Vuetable is currently in API mode.

# isDataMode

  • return: Boolean

  • description

    Determine if Vuetable is currently in Data mode.