주요 콘텐츠로 건너뛰기

rowKey

설명

선택 사항입니다. 카드가 행에 할당되는 방식을 지정합니다.

정보

카드를 행(스윔레인)으로 구성하려면, 각 카드 데이터 내 행의 ID와 일치하는 사용자 정의 키를 정의해야 합니다. 그런 다음 위젯 구성에서 rowKey 속성을 이 사용자 정의 키로 설정하세요.

사용법

rowKey?: string;

예제

const cards = [
{
label: "Backlog task",
row_custom_key: "feature"
},
{
label: "In progress task",
row_custom_key: "done"
}
];

new kanban.Kanban("#root", {
columns,
cards,
rows,
rowKey: "row_custom_key",
// other parameters
});

관련 샘플: Kanban. Swimlanes