View Full Version : Ajax Call on row click

11 Aug 2009, 9:42 PM
Hi All,

I have grid using rowselectionmodel. On selecting row, I have to make a ajax call to the server to get more details related to that record. Can any one please let me know how can I achieve this.

Any help is appreciated.

11 Aug 2009, 9:51 PM
Specifically, which part? Seems like you know what you need to do here.

Start by looking at the grid events (rowclick), then at the documentation for Ext.Ajax.request.

11 Aug 2009, 10:48 PM
I want to send ajax request in selModel: which activates when a row is selected.
I am newbie to ExtJs. Could you please some sample ajax request or sample code. I am trying but no luck.

11 Aug 2009, 11:28 PM
The docs have an example of making an Ajax request: http://extjs.com/deploy/dev/docs/?class=Ext.Ajax&member=request

Full example code there and full description of every option.