PDA

View Full Version : JS error in getKey() on loadRecords when result set is empty



yyogev
24 May 2011, 8:01 AM
I have an editable grid using cell editing plugin with a restful proxy.
When this grid is loaded with an empty set of records, I get an error "o is undefined" in line 17354 in ext-all-debug.js (using ExtJS 4.0.1).

The stack: (bottom to top)

getKey()
add()
doMultiSelect()
doSelect()
(?)()
initEvents()
refresh()
callParent()
(?)()
callParent()
(?)()
callParent()
(?)()
onDataChanged()
fire()
fireEvent()
loadRecords()
onProxyLoad()
processResponse()
(?)()
callback()
onComplete()
onStateChange()
(?)()

aondevuser1
7 Jun 2011, 10:22 AM
Did you figure this one out? I am having the same issue.