Hello All,

I have a grid panel with

selModel : Ext.create('Ext.selection.RowModel', {
mode : 'SINGLE'

this grid panel is inside a formpanel, what i want is when it loads i show a specific row as selected. With every column of gridpanel associated with Renderer.

I have tried many things like

me.gridPanel.getSelectionModel().select(me.store.findRecord('id',1) )

me.gridPanel.getSelectionModel().select(me.store.findRecord('id',1) .data)

but iam unable to do this.

Kindly let me know what mistake iam i doing...

Thanks in advance.