1. Phil Russel - EUGrid Menu
- Posted by Tony Steward <tony.steward at gmail.com> Feb 21, 2005
- 424 views
Hi Phil or anyone else who can help, Is it possible to externally add an item to EUGrid's popup menu. I want to be able to add my multi column sort to the existing popup menu without editing EUGrid. -- Regards Tony Steward www.locksdownunder.com IF IT IS TO BE IT IS UP TO ME!
2. Re: Phil Russel - EUGrid Menu
- Posted by Phil Russell <pg_russell at lineone.net> Feb 21, 2005
- 436 views
- Last edited Feb 22, 2005
Tony Steward wrote: > > Hi Phil or anyone else who can help, > Is it possible to externally add an item to EUGrid's popup menu. > I want to be able to add my multi column sort to the existing popup > menu without editing EUGrid. > Hi Tony, Not at the moment - you can't get hold of the sort menu id to manipulate it. However, you *can* suppress the default sort menu and replace it with one of your own. If you right-click on the 'Cell Types' grid example in style.exw you can see this in action. The event code is in procedure 'onGrid1Event'. You would have to duplicate the existing menu entries on your new menu but this should be straightforward, as you can copy the existing code in eugrid.ew, which is mostly in procedure 'EGW_SortMenuHandler'. HTH, Phil