API Docs for: v2.7.0
Show:

Components.ModelsTableRowFiltering Class

Extends Ember.Component

Table header item used within models-table/table-header.

Component generates tr with filter inputs in the separated cells. Filter for column may be as an input or select. Second one may have predefined set of options or may calculate list of options from table data. Last scenario doesn't work with models-table-server-paginated. Check properties disableFiltering, filteredBy, filterFunction, filterPlaceholder, filterWithSelect, predefinedFilterOptions for ModelsTableColumn.

Usage example:

{{#models-table data=data columns=columns as |mt|}}
  {{#mt.table as |table|}}
    {{#table.header as |header|}}
      {{header.row-filtering}}
      {{! ... }}
    {{/table.header}}
    {{! ... }}
  {{/mt.table}}
  {{! .... }}
{{/models-table}}

Usage with a block context:

{{#models-table data=data columns=columns as |mt|}}
  {{#mt.table as |table|}}
    {{#table.header as |header|}}
      {{#header.row-filtering as |rf|}}
        {{#each rs.visibleProcessedColumns as |column|}}
          {{rf.row-filtering-cell column=column}}
        {{/each}}
      {{/header.row-filtering}}
      {{! ... }}
    {{/table.header}}
    {{! ... }}
  {{/mt.table}}
  {{! .... }}
{{/models-table}}

ModelsTableRowFiltering yields references to the following contextual components:

Check own docs for each component to get detailed info.

Properties

displayGroupedValueAs

String

Default: null

processedColumns

ModelsTableColumn

Default: null

themeInstance

Object

Default: null

useDataGrouping

Boolean

Default: null

visibleProcessedColumns

ModelsTableColumn

Default: null