A column's configuration as the grid reports it, returned by .

Inheritance

constructor

public IgbColumnConfiguration()

Returns IgbColumnConfiguration

The data type of the column's values; the grid treats a column without one as .

[JsonPropertyName("dataType")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public GridLiteColumnDataType? DataType { get; init; }

The field from the data that the column references.

[JsonPropertyName("field")]
public required string Field { get; init; }

Whether the column is filterable.

[JsonPropertyName("filterable")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public bool Filterable { get; init; }

Whether filtering is case sensitive for this column.

[JsonPropertyName("filteringCaseSensitive")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public bool FilteringCaseSensitive { get; init; }

The header text of the column; the grid shows the field when it is not set.

[JsonPropertyName("header")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? Header { get; init; }

Whether the column is hidden.

[JsonPropertyName("hidden")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public bool Hidden { get; init; }

Whether the column is resizable.

[JsonPropertyName("resizable")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public bool Resizable { get; init; }

Whether the column is sortable.

[JsonPropertyName("sortable")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public bool Sortable { get; init; }

Whether sorting is case sensitive for this column.

[JsonPropertyName("sortingCaseSensitive")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public bool SortingCaseSensitive { get; init; }

The width of the column (CSS value); when not set, the column shares the grid's width with the other columns.

[JsonPropertyName("width")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? Width { get; init; }