트리 » Api
  
getprevsiblingitemex
  
Description
지정한 키값의 아이템과 같은 레벨의 이전 아이템을 가져오는 API이다.
  
  
Parameters
  
    
      | Parameters | 
      Type | 
      Description | 
    
  
  
        
    
        | strKey | 
        STRING | 
 	트리 아이템 키값 | 
      
  
  
Return Value
  
    
      | Type | 
      Description | 
    
  
  
    
      | long | 
      같은 레벨의 이전 아이템 | 
    
  
Example
function btn_getprevsiblingitemex_on_mouseup()
{
    trTest.insertitemex("testtree", "treekey", 0, 1, "", "");
    trTest.insertitemex("testtree2", "treekey2", 0, 1, "", "");
    screen.alert(trTest.getitemtext(trTest.getprevsiblingitemex("treekey2")));
}
  
See Also
getprevsiblingitem
  
Viewer Ver.
9.1.1.1
  
Update Date
 20110412