그리드 » Api
isexpandedcolumn
Description
그리드 특정 열이 확장된 상태인지를 반환하는 API이다.
Parameters
Parameters |
Type |
Description |
nColumn |
short |
열 인덱스 |
Return Value
Type |
Description |
BOOL |
확장된 열인지 여부(true, false) |
Example
function btn_on_mouseup()
{
var is_expaned_column;
is_expaned_column = grd.isexpandedcolumn(0);
factory.consoleprint("0 column expaned = " + is_expaned_column);
if (is_expaned_column) {
grd.expandcolumn(0, XFD_TREEITEM_COLLAPSE, true);
}
else {
grd.expandcolumn(0, XFD_TREEITEM_EXPAND, true);
}
is_expaned_column = grd.isexpandedcolumn(0);
factory.consoleprint("0 column expaned = " + is_expaned_column);
}
See Also
ishaschildcolumn
Viewer Ver.
23.9.27.1
Update Date
20231004