2009-12-02 4 views

답변

0

는이에 대한 JQuery와의 qtip 플러그인을 사용할 수 있습니다 >>> 확인 했나. 제 경우에는 특정 jqgrid 셀이 집중 될 때 툴 팁을 보여 주어야합니다.

LoadToolTipRackId = function (elem) { 

    jQuery(elem).qtip({ 
     content: 'this is an image', 
     show: 'focusin', 
     hide: 'focusout', 
     style: 
    { 

     name: 'red', 
     tip: 'leftBottom', 
     textAlign: 'left', 
     fontWeight: '500', 
     fontSize: '11px' 

    }, 
     position: 
    { 
     corner: 
     { 
      target: 'rightMiddle', 
      tooltip: 'leftBottom' 
     } 
    } 
    }); 
} 

내가 colmodel에있는 jqGrid의 열 특성에 따라 설정해야하는 반면 당신이 qtip 플러그인 http://craigsworks.com/projects/qtip/

에 대한 자세한 내용을 보려면 링크를 방문 할 수 있습니다

editoptions: { size: 7, defaultValue: '0.00000', maxlength: 15, dataInit: LoadToolTipRackId} 
관련 문제