PDA

View Full Version : recalling rowSelectionModel's selectRow function history



wp.joju
18 Feb 2010, 6:52 AM
hi , i need someone who knows extjs function from way before, i was referring to the extjs 2.2 api but didn't get much info, i have grid panel with this rowContextMenu event handler



var gridRowContext = function(grid, rowIndex, e)
{
e.preventDefault();
grid.getSelectionModel().selectRow(rowIndex);
..............


as of today, when i do grid.getSelectionModel().selectRow(rowIndex);, it removes the existing selection and selects the passed rowIndex, has this been function like this before? i am currently using extjs3.1.1... i am trying to determine if on March of 2009, the selectRow function's keepExisting parameter has been default to false like it is today

selectRow( Number row, [Boolean keepExisting] ) : void