0
Ext.grid.CheckColumn과 Ext.ux.grid.RowExpander를 사용하는 Ext.grid.GridPanel이 있습니다.Ext.ux.grid.CheckColumn - 이벤트를 원격으로 실행
리스너를 RowExpander에 추가했으며 Ext.ux.grid.CheckColumn에 의해 생성 된 확인란을 RowExpander로 확장 한 후 "확인"하려고합니다. 어떻게 할 수 있을지에 대한 아이디어가 있습니까? 아래
내 코드 :
var expander = new Ext.ux.grid.RowExpander({
width: 15,
selectRowOnExpand: true,
align: 'left',
tpl : new Ext.Template(
........
),
listeners: {
expand: function (row,record,body,rowIndex) {
------>>>>>> what do I put here to fire an event into checkcolumn ?
}
}
}
var checkbox = new Ext.ux.grid.CheckColumn({
header: 'Read',
dataIndex: 'read',
id: 'read',
width: 30
});
var mygrid = new Ext.grid.GridPanel({
renderTo: document.getElementById('inbox'),
plugins: [new Ext.ux.IconMenu(), search, expander, checkbox],
..............
..............
columns:[
checkbox,
{ other column definition }
etc etc
감사합니다!
기본적으로 내가 체크 박스를 필요 행 확장자 정보 – Dan