front end/sencha(extjs)

[javascript] sencha - actioncolumn

노루아부지 2019. 8. 23. 23:51
{
   xtype: 'actioncolumn',
   handler: function(view, rowIndex, colIndex, item, e, record, row) {
      onclickWebPosManagementDetailPopup(rowIndex);
   },
   width: 85,
   align: 'center',
   text: '바로가기',
   dataIndex: 'activeDetailButton',
   icon: '../resources/img/btn_view.png',
   iconCls: 'iconStyle1'
}, 

// actioncolumn을 사용하면 column에 버튼이 생기는데
// handler를 이용하여 버튼이 눌렸을 때 동작을 지정할 수 있음

 

728x90
loading