** Grid에서 Tooltip 보여주기 **
1. Grid. OnMouseOver Event에서
- Header에 Mouse가 Over시 Tooltip 보여주기
- nRow == -1 이면 Header Row임
- nCell > 0 커야만 Header Cell에 Mouse가 올라 간 경우임
function grid_OnMouseOver(obj,nPosX,nPosY,nRow,nCell,nPivotIndex)
{
if (nRow == -1 && nCell >= 0){
var colId = obj.GetCellProp("Head",nCell,"Text");
obj.ToolTipText = colId;
}
}
'Nexacro-Grid > Grid' 카테고리의 다른 글
Nexacro - Grid Tooltip (0) | 2017.01.19 |
---|---|
Nexacro - focus이동 (0) | 2017.01.19 |
3항 연산자 사용하기 (0) | 2017.01.18 |
Grid에서 정규식 사용하기 (0) | 2017.01.18 |
Grid에서 row선택하기 (0) | 2017.01.18 |