멀티라인그리드 » Api
  
getitemdatainputtype
  
Description
그리드 특정 아이템의 data_inputtype 속성값을 반환하는 API이다.
  
  
Parameters
  
    
      | Parameters | 
      Type | 
      Description | 
    
  
  
        
    
        | nRow | 
        long | 
 	로우 인덱스 | 
      
    
    
        | nSubRow | 
        short | 
 	서브 로우 인덱스 | 
      
    
    
        | nColumn | 
        long | 
 	컬럼 인덱스 | 
      
  
  
Return Value
  
    
      | Type | 
      Description | 
    
  
  
    
      | short | 
      특정 아이템의 data_inputtype 속성값 | 
    
  
Remark
직접 아이템에 속성을 따로 설정하지 않은 경우에는 -1값이 리턴된다.
  
 
  
Example
function btn_on_mouseup()
{
	var nColumnDataInputType, nItemDataInputType, bRet;
	
	nColumnDataInputType = grd.getcolumndatainputtype(0, 0);
	factory.consoleprint("nColumnDataInputType = " + nColumnDataInputType);
	if(nColumnDataInputType == 0) {
		bRet = grd.setcolumndatainputtype(0, 0, 1);
	}
	else {
		bRet = grd.setcolumndatainputtype(0, 0, 0);	
	}
	factory.consoleprint("setcolumndatainputtype = " + bRet);	
	
	nColumnDataInputType = grd.getcolumndatainputtype(0, 0);
	factory.consoleprint("nColumnDataInputType = " + nColumnDataInputType);	
	
	nItemDataInputType = grd.getitemdatainputtype(0, 0, 0);
	factory.consoleprint("nItemDataInputType = " + nItemDataInputType);
	
	bRet = grd.setitemdatainputtype(0, 0, 0, 1);
	factory.consoleprint("setitemdatainputtype = " + bRet);	
	
	nItemDataInputType = grd.getitemdatainputtype(0, 0, 0);
	factory.consoleprint("nItemDataInputType = " + nItemDataInputType);
}
  
See Also
setitemdatainputtype
  
Viewer Ver.
9.1.1.1
  
Update Date
 20190715