그리드 » Api
  
getcolumndepth
  
Description
그리드 특정 컬럼 데이터부 깊이(depth 속성)를 반환하는 API이다.
  
  
Parameters
  
    
      | Parameters | 
      Type | 
      Description | 
    
  
  
        
    
        | nColumn | 
        short | 
 	컬럼 인덱스 | 
      
  
  
Return Value
  
    
      | Type | 
      Description | 
    
  
  
    
      | BOOL | 
      컬럼 데이터 depth 속성값 | 
    
  
Example
function btnsetcolWidth_on_mouseup()
{
	var column_depth;
	
	// 1번째 컬럼 데이터부 depth 속성을 구하여 표시
	column_depth = grd.getcolumndepth(1);
	factory.consoleprint("1 column depth = " + column_depth);
	
	if (column_depth == 0) {
		// 1번째 컬럼 데이터부 depth 속성을 변경
		grd.setcolumndepth(1, column_depth + 1, false);
		
		// 그리드 refresh
		grd.refreshcolumn();
	
		// 1번째 컬럼 데이터부 depth 속성을 구하여 표시
		column_depth = grd.getcolumndepth(1);	
		factory.consoleprint("1 column depth = " + column_depth);
	}
}
  
See Also
setcolumndepth
  
Viewer Ver.
23.9.27.1
  
Update Date
 20230927