Customizations

Customizations

Manages all customization associated with a data table instance

Constructor

new Customizations()

Methods

_updateGroupedFormInput(groupedFormInput)

Updates groupedTableOptions on widget instance

Parameters:
Name Type Description
groupedFormInput

getCurrent()

Returns current customization on this table instance. Should return entire customization, not delta

getDisplayDensity() → {object}

Returns current display density

Returns:

current display density as defined in Constants.DISPLAY_DENSITY

Type
object

update(customizations)

Updates customization on table instance and configuration

Parameters:
Name Type Description
customizations

updateColumnVisibility(colIndex, visibility)

Stores the visibility state for a column

Parameters:
Name Type Description
colIndex int

Index of the column to set state for

visibility Boolean

true if visible, false otherwise