PDA

View Full Version : Disabling Row Click in a Grid



karansardana
1 Sep 2009, 11:24 PM
Hi,

I would like the grid not to respond to the Row click events. i.e. Row should not get highlighted when a user clicks the same.

Would appreciate If I could get any help.

Thanks,
Karan

Animal
1 Sep 2009, 11:33 PM
How well did you read the API docs for GridPanel?

Did you try with the "Hide inherited members" button clicked?

http://extjs.com/deploy/dev/docs/?class=Ext.grid.GridPanel&member=disableSelection

karansardana
2 Sep 2009, 12:01 AM
I am not using the selection mode.

I just want the grid not to respond to any clicks on itself. i.e. row shouldn't turn blue.

hulette
3 Sep 2009, 12:12 AM
set config option disableSelection: true.