我目前無法訪問列標題菜單 xtype(因為它沒有公開?),因此我無法向其添加偵聽器以捕獲 checkchange 事件。 { xtype: 'gridcolumn', id: 'stagesEnteredQueue', align: 'center', dataIndex: 'enteredQueue', text: 'Entered Queue', format: 'd/m/Y', filter: { type: 'datetime', format: 'd/m/Y', }, renderer: function (val, metaData, record) { val = Ext.Date.format(val, 'd/m/Y, H:i:s'); return val; }, minWidth: 150, flex: 1 }如何在列標題過濾器菜單上捕獲選中/取消選中事件?由于我的應用程序的業務規則,需要更改對其自動執行的商店過濾器的更改。
在 Ext JS 中選中/取消選中列標題菜單過濾器復選框時觸發事件
江戶川亂折騰
2021-06-28 13:51:32