onAfterSort

그리드 내 작업들이 정렬된 후에 한 번 트리거됩니다.

void onAfterSort(string|function field, [boolean desc,string|number parent] );
fieldstring|function정렬에 사용된 컬럼 이름 또는 사용자 정의 정렬 함수
descboolean선택 사항으로 정렬 순서를 나타냅니다: true는 내림차순, false는 오름차순
parentstring|number선택 사항으로, 정렬이 특정 브랜치로 제한된 경우 해당 부모 작업의 ID

Example

gantt.attachEvent("onAfterSort",function(field, direction, parent){
    // your code here
});

See also
Back to top