Javascript/Sencha

Sencha grid의 특정 셀을 더블클릭했을 때, 작동하게 하기

바리새인 2025. 1. 11. 01:43
listeners: {
    cellDoubleClick: function(event) {
        // Check if the clicked column's dataField is 'A'
        if (event.dataField === 'A') {
            // Handle the double-click event for 'A' column only
            console.log("Double-clicked on column A, Row Index: " + event.rowIndex);
        }
    }
}