정렬 기능
Methods
(static) clearSort() → {undefined}
모든 컬럼에 대한 정렬기능을 해제합니다
Example
grid.clearSort(); //모든 컬럼에 대한 정렬 해제
Returns:
- Type
- undefined
(static) setSort(columnid, type) → {undefined}
컬럼에 대한 정렬기능을 설정합니다
Example
grid.setSort("USER_SABUN","asc"); //USER_SABUN컬럼을 내림차순으로 정렬
grid.setSort("USER_SABUN","desc"); //USER_SABUN컬럼을 오른차순으로 정렬
grid.setSort("USER_SABUN","reset"); //USER_SABUN컬럼 정렬을 해제
Parameters:
Name | Type | Description |
---|---|---|
columnid |
string | 컬럼 아이디 |
type |
string | 정렬 속성 asc,desc,reset |
Returns:
- Type
- undefined