트리그리드의 특정 트리 아이템에 설정되어 있는 이미지 정보를 읽어들이는 API이다.
Parameters | Type | Description |
---|---|---|
nRow | long | 행 Index |
Type | Description |
---|---|
class | 트리이미지 정보를 담고 있는 Class (* Remark참조) |
** 반환되는 Class정보 classTreeImageInfo = function() { // 아이템 이미지리스트 경로 // ** 컬럼의 이미지리스트를 사용하지 않고 특정아이템만 별도의 // ** 이미지리스트를 사용하고자 하는 경우에만 따로 값을 줌. strimageurl = ""; // 아이템이 선택되지 않았을경우 이미지리스트상의 이미지인덱스 nimageindex = 0; // 아이템이 선택된 경우 이미지리스트상의 이미지 인덱스 nselectedimageindex = 0; }
function btnGetItemTreeImage_on_mouseup(objInst)
{
var clsTreeImageInfo = grid.getitemtreeimage(0);
factory.consoleprint("clsTreeImageInfo.strimageurl : " + clsTreeImageInfo.strimageurl);
factory.consoleprint("clsTreeImageInfo.nimageindex : " + clsTreeImageInfo.nimageindex);
factory.consoleprint("clsTreeImageInfo.nselectedimageindex : " + clsTreeImageInfo.nselectedimageindex);
}