Ext version tested: Browser versions tested against: DOCTYPE tested against: Description:

  • Ext.grid.Panel renders unselectable/non-highlightable rows when autosort is enabled, the count added is greater than one, and the store already has items. This due to Ext.util.Collection which calls splicemerge on subsequent adds with an existing length and autosort enabled. Method splicemerge does not update the collection's map and indices which results in a calculated recordIndex of -1 in renderRow of Ext.view.Table for records added on subsequent adds.


Steps to reproduce the problem:

http://ift.tt/1vONNPk



  • Create a gridpanel with sorters

  • Add one item to the grid's store

  • Add two items to the grid's store


The result that was expected:

  • Three highlightable/selectable rows


The result that occurs instead:

  • Three visible rows but only the first (added) is selectable


Workaround #1

  • Disable autosort

  • Add to store

  • Enable autosort

  • Sort store data collection programmatically


Workaround #2

splicemerge.txt