PDA

View Full Version : Can't set value for return function



edwardking
8 Oct 2010, 1:21 AM
I use following code





When I modify value in FormPanel,and click modify button,it raise javascript error:
Can't set value for return function at _rs.set(

Condor
8 Oct 2010, 2:05 AM
It's:

_rs.set("name", _values["name"]);
(and you should probably store a reference to the record in your rowselect handler and use it in your Modify handler instead of using getSelected)