In Ext 2.0, how can I trap the event of the header dropdown menu in a grid(Please look at the attached image.)? ESRI Australia : EView Update Download:: as point zoom - trapping of bad client events - improved performance - scale bar This update replaces the no-cache header with an expires one which http://www.esriaustralia.com.au/products/files/links/link_4327.htmHOME |
I need to trigger the sort event in the back-end and send the direction of the sort and also the sort field to it. www.fml.org/software/fml8/cpan/doc/99_good_modules:: For trapping an abort and giving a traceback P5P strict Supf? VRML methods with the VRML 2.0 standard HPALM ::Color Rdpf? http://www.fml.org/software/fml8/cpan/doc/99_good_modulesHOME |
Thanks.
Attached image.
Does anybody have an idea how to achieve this? Any help is appreciated.
Just a guess, but I'd think you could do it by attaching a listener to the beforeload event of whatever store you're using. Is this extra parameter driven by the sorting menu items? If so, there's probabl something in the docs about click events or something.
Thanks Jeff. I have already specified remoteSort=true as part of the store's configuration.
The thing is that I want to pass one extra parameter to the back-end on click of this header dropdown menu. How can I achieve that?
Pretty much all the stores already provide this functionality:
GroupingStore (http://extjs.com/deploy/dev/docs/?class=Ext.data.GroupingStore&member=remoteSort)
JsonStore (http://extjs.com/deploy/dev/docs/?class=Ext.data.JsonStore&member=remoteSort)
SimpleStore (http://extjs.com/deploy/dev/docs/?class=Ext.data.SimpleStore&member=remoteSort)
Store (http://extjs.com/deploy/dev/docs/?class=Ext.data.Store&member=remoteSort)
Nobody understands...any help please?
50 points for someone willing to do this!!!!!!!!!!?
|