PDA

View Full Version : Where are data.getValueAt and grid.getSelectedRowIndex?



n01champion
20 Feb 2007, 12:42 PM
Where are data.getValueAt and grid.getSelectedRowIndex?

jack.slocum
20 Feb 2007, 11:37 PM
Look at the api.

getAt returns a record now.

var r = sm.getSelected();
alert(r.data['foo']);

var r = store.getAt(0);
alert(r.data['foo']);

The record object should have everything you need. Is there something missing?