Element
igc-grid-lite-column

Optional cellTemplate

Section titled "cellTemplate"

Custom cell template for the column.

cellTemplate: object

Defined in src/components/column.ts:91

Optional dataType

Section titled "dataType"

The data type of the column's values.

dataType: "string" | "number" | "boolean" = 'string'

Defined in src/components/column.ts:47

The field from the data for this column.

field: Keys<T>

Defined in src/components/column.ts:43

Indicates whether the column is filterable.

filterable: boolean = false

Defined in src/components/column.ts:79

Whether filter operations will be case sensitive.

filteringCaseSensitive: boolean = false

Defined in src/components/column.ts:83

The header text of the column.

header: string

Defined in src/components/column.ts:51

Optional headerTemplate

Section titled "headerTemplate"

Custom header template for the column.

headerTemplate: object

Defined in src/components/column.ts:87

Indicates whether the column is hidden.

hidden: boolean = false

Defined in src/components/column.ts:59

Indicates whether the column is resizable.

resizable: boolean = false

Defined in src/components/column.ts:63

Indicates whether the column is sortable.

sortable: boolean = false

Defined in src/components/column.ts:67

Optional sortConfiguration

Section titled "sortConfiguration"

Sort configuration for the column (e.g., custom comparer).

sortConfiguration: ColumnSortConfiguration<T>

Defined in src/components/column.ts:75

Whether sort operations will be case sensitive.

sortingCaseSensitive: boolean = false

Defined in src/components/column.ts:71

The width of the column.

width: string

Defined in src/components/column.ts:55

Array of styles to apply to the element. The styles should be defined using the css tag function, via constructible stylesheets, or imported from native CSS module scripts.

Note on Content Security Policy:

Element styles are implemented with <style> tags when the browser doesn't support adopted StyleSheets. To use such <style> tags with the style-src CSP directive, the style-src value must either include 'unsafe-inline' or nonce-<base64-value> with <base64-value> replaced be a server-generated nonce.

To provide a nonce to use on generated <style> elements, set window.litNonce to a server-generated nonce in your page's HTML, before loading application code:

``

styles: CSSResult

Defined in src/components/column.ts:26