2018. 4. 26. 11:17ㆍ프로그래밍/ExtJS
columns: {
defaults :{
menuDisabled: true,
sortable: false
},
items:[
{ xtype:'actioncolumn',width:40,items:[{
tooltip:'다운로드',
cls:'videoclip',
glyph: 'e930@icomoon',
dataIndex: 'fileurl',
handler: function(view, rowIndex, colIndex, item, e, record, row) {
this.fireEvent('onProgramDownload', view, rowIndex, colIndex, item, e, record, row);
}
}]},
{ text: '파일', dataIndex: 'fileurl',hidden:true },
{ text: '프로그램명', dataIndex: 'programnm', flex: 1 },
{ text: '프로그램설명', dataIndex: 'programinfo', flex: 1 },
{ text: '업데이트날짜', dataIndex: 'updatedate', renderer: Ext.util.Format.dateRenderer('Y-m-d') }
]
}
Grid Columns 기본 틀
'프로그래밍 > ExtJS' 카테고리의 다른 글
Combo 에서 list width를 내용에 따라 늘일경우 (0) | 2018.06.21 |
---|---|
Ext.Ajax.request MASK관련 (0) | 2018.03.30 |
View Load 시 해당 Scroll 위치를 이동하지 않도록 (0) | 2018.03.30 |
Grid 키 이벤트 제거하다..꼼수.. (0) | 2014.09.04 |
ExtJs 모바일 접속시 다른 URL로 이동 (0) | 2012.12.26 |