@syncfusion/ej2-kanban
Version:
The Kanban board is an efficient way to visualize the workflow at each stage along its path to completion. The most important features available are Swim lane, filtering, and editing.
74 lines (73 loc) • 1.8 kB
TypeScript
import { ChildProperty } from '@syncfusion/ej2-base';
import { SortComparerFunction } from '../base/interface';
import { SortDirection } from '../base/type';
/**
* Holds the configuration of swimlane settings in kanban board.
*/
export declare class SwimlaneSettings extends ChildProperty<SwimlaneSettings> {
/**
* Defines the swimlane key field
*
* @default null
*/
keyField: string;
/**
* Defines the swimlane header text field
*
* @default null
*/
textField: string;
/**
* Enable or disable empty swimlane
*
* @default false
*/
showEmptyRow: boolean;
/**
* Enable or disable items count
*
* @default true
*/
showItemCount: boolean;
/**
* Enable or disable the card drag and drop actions
*
* @default false
*/
allowDragAndDrop: boolean;
/**
* Defines the swimlane row template
*
* @default null
* @aspType string
*/
template: string | Function;
/**
* Sort the swimlane resources. The possible values are:
* * Ascending
* * Descending
*
* @default 'Ascending'
*/
sortDirection: SortDirection;
/**
* Defines the custom sort comparer function.
* The sort comparer function has the same functionality like
* [`Array.sort`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort) sort comparer.
*
* @default null
*/
sortComparer: SortComparerFunction;
/**
* Enable or disable unassigned swimlane group
*
* @default true
*/
showUnassignedRow: boolean;
/**
* Enables or disables the freeze the swimlane rows
*
* @default false
*/
enableFrozenRows: boolean;
}