// 특정코드통해서 들어올 경우 해당 그리드의 column click이벤트 fire하여 팝업 띄우기
if (UT.isNotEmpty(me.domHost.clickedAW))
{
// Tab 선택
me.domHost.$.tabNavi.selectIndex(me.domHost.clickedAW.pack_type == "F" ? 1 : 2);
var itemIndex = grid.searchItem("aw_cd", me.domHost.clickedAW.aw_cd, 0);
if (UT.isNotEmpty(itemIndex))
{
var _rowIndex = itemIndex.itemIndex;
grid.setCurrentCell({dataField:"btn_aw", rowIndex:_rowIndex});
var _data = grid.getDataProvider().getItemAt(_rowIndex);
var _item = grid.getCurrentCell();
grid.fire("item-click", {data:_data, item:_item});
}
}
// 팝업오픈시 현그 그리드셀의 click event fire하기
if (UT.isNotEmpty(me.clickedBtn))
{
var _grid = me.$.gridPanel;
var _provider = _grid.getDataProvider();
var _cell = _grid.getCurrentCell();
if (UT.isNotEmpty(_cell))
{
_grid.setCurrentCell({dataField:me.clickedBtn, rowIndex:_cell.rowIndex});
var _data = _provider.getItemAt(_cell.rowIndex);
var _item = _grid.getCurrentCell();
_grid.fire("item-click", {data:_data, item:_item});
}
me.clickedBtn = null;
}
grid item click event fire
|
2018.10.17 22:02:09
|
2018.10.17 22:09:08
|
572
|
Aiden
Total of Attached file
0.00 Bytes of 0 files
2018.11.02
2018.11.02
2018.11.01
2018.10.23
2018.10.22
2018.10.17
2018.10.17
2018.09.19
2018.09.11
2018.08.30