Home Reference Source Repository
import {BaseDropdown} from 'tablefilter/src/modules/baseDropdown.js'
public class | source

BaseDropdown

Extends:

Feature → BaseDropdown

Direct Subclass:

CheckList, Dropdown

Base class for Dropdown and CheckList UI components

Constructor Summary

Public Constructor
public

Creates an instance of BaseDropdown

Member Summary

Public Members
public

Filter options custom sorter on a column basis

Inherited Summary

From class Feature
public

TableFilter configuration

public

TableFilter emitter instance

public

TableFilter feature setting

public

Feature name

public

Field indicating whether Feature is initialized

public

TableFilter instance

public

Destroy the feature

public

Disable the feature

public

enable()

Enable the feature

public

init()

Initialize the feature

public

Indicate whether the feature is enabled or not

public

reset()

Reset the feature after being disabled

Public Constructors

public constructor(tf: TableFilter) source

Creates an instance of BaseDropdown

Override:

Feature#constructor

Params:

NameTypeAttributeDescription
tf TableFilter

Public Members

public customSorter: Object source

Filter options custom sorter on a column basis