트리그리드 특정 헤더에 적용된 스타일 아이디값을 반환하는 API이다.
Parameters | Type | Description |
---|---|---|
nHeaderRow | long | 헤더행 인덱스 |
nHeaderCol | long | 헤더열 인덱스 |
Type | Description |
---|---|
STRING | 헤더 스타일 아이디 |
function btnTest_on_mouseup(objInst)
{
var strHeaderStyleID = treegrid.getheaderstyleid(0, 0);
if(strHeaderStyleID.length <= 0) {
// 헤더부 스타일 적용
treegrid.applyheaderstyle(0, 0, "ID_TREEGRIDHEADER001");
}
}