Re: Phil Russel - EUGrid Menu

new topic     » goto parent     » topic index » view thread      » older message » newer message

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu