rich02818
24 Aug 2010, 8:00 AM
extjs 3.2.x
gridPanel with CellSelectionModel:
1. click in already selected cell will fire selectionchange event even though there is no change. This is caused by handleMouseDown which calls this.select(row,cell) without checking for an actual change; the select function does not determine if the cell is already selected before executing clearSelections() ... firing the 'cellselect' and 'selectionchange' events
2. in fact for a grid with a its selectionModel set to a cellSelectionModel, the following events fire in this sequence when a cell is clicked (already selected or not): 'selectionchange', 'cellselect', 'selectionchange', 'rowclick', 'cellclick'
gridPanel with CellSelectionModel:
1. click in already selected cell will fire selectionchange event even though there is no change. This is caused by handleMouseDown which calls this.select(row,cell) without checking for an actual change; the select function does not determine if the cell is already selected before executing clearSelections() ... firing the 'cellselect' and 'selectionchange' events
2. in fact for a grid with a its selectionModel set to a cellSelectionModel, the following events fire in this sequence when a cell is clicked (already selected or not): 'selectionchange', 'cellselect', 'selectionchange', 'rowclick', 'cellclick'