DkGridColumnDef
You can access this instance through the property named columnDef of the DkGridComponent, or by listening to the DkGridComponent event called gridColumnDefInstance.
Generics
<T>
represents the object's shape coming from the data source.
<R>
represents the column data type: string
, number
, Date
, or boolean
.
Methods
Method | Description |
---|---|
| It inserts a new column or a set of new columns. Params:
Return: |
| It deletes the given columns permanently. Params:
Return: |
| It searches a column in all panels. The found column must meet the compare function criteria. Params:
Return: |
| It searches a node in all panels. The found node must meet the compare function criteria. Params:
Return: |
| It makes visible or non-visible the given column. Params:
Return: |
| It modifies a data column in width. You can set the minimum and the maximum values. Params:
Return: |
| It makes the given column groupable or non-groupable. Params:
Return: |
| It locks the column for moving. Remember that the column must be draggable. Params:
Return: |
| It unlocks the column for moving. Remember that the column must be draggable. Params:
Return: |
| It makes the given column resizable or non-resizable. Params:
Return: |
| It interchanges the source and destination columns. Columns must belong to the same group. Params:
Return: |
| It moves the given column at the left of the target column. Columns must belong to the same group. Params:
Return: |
| It moves the given column to the right side of the target column. Columns must belong to the same group. Params:
Return: |
| It moves the given column to the given panel. Params:
Return: |
| It moves all columns from the fromPanel panel to the destinationPanel panel. You can move only visible columns by providing the onlyVisibleColumns parameter. Params:
Return: |
| It changes the given column as filterable or not. You can specify an initial filter, and you can also define your custom filter conditions. Params:
Return: |
| This method establishes a new filter for the given column. The column must be filterable. Params:
Return: void. |
| It changes the given column as editable or not. You can specify the edition setting and the edition template for the given column. Params:
Return: |
| It sets the default edition template again. Params:
Return: |
| It establishes the given template for the given column. Params:
Return: |
| It establishes the default template for the given column. Params:
Return: |
| It makes visible or non-visible the column that shows the row identifier. You can also change the width of this column. Params:
Return: |
| It sets the given status to the given column group. Params:
Return: |
| It makes sortable or non-sortable the given column. Params:
Return: |
| It returns all the existing columns. Params: None. Return: |
| It returns all the existing columns in a linked-node structure. Params: None. Return: |
Events
Event | Description |
---|---|
| It emits the column that has changed in width. Params: None. Return: |
| It emits the column group that has changed its status. It sends the column group until the leaves. Params: None. Return: |
| It emits the locked column for moving. For column groups, it sends the column group until the leaves. Params: None. Return: |
| It emits the unlocked column for moving. For column groups, it sends the column group until the leaves. Params: None. Return: |
| It emits the column that changes its visibility. For column groups, it sends the column group until the leaves. Params: None. Return: |
| It emits an object of type Params: None. Return: |
| It emits the current columns from all panels. DkGrid emits this event every time a column operation occurs. Params: None. Return: |
| It emits the current columns from the content panels. DkGrid emits this event every time a column operation occurs. Params: None. Return: |
| DkGrid emits this event when you delete a column. Params: None. Return: |
Last updated