View Full Version : Grid column context menu
liotrox
12 Mar 2007, 5:02 AM
What about to add, in a standard way, menu items in the column context menu (mousse right click)?
Angelo
tryanDLS
12 Mar 2007, 7:41 AM
Do you mean on a grid row as opposed to grid column header? I think this would be fairly simple for you to do, mirroring what's been done for headers. Not sure if generic functionality for this is on Jack's list of things to add for 1.0
liotrox
12 Mar 2007, 11:00 AM
Do you mean on a grid row as opposed to grid column header? I think this would be fairly simple for you to do, mirroring what's been done for headers. Not sure if generic functionality for this is on Jack's list of things to add for 1.0
Yes I was speaking to add menu items in the built-in context menu of column headers.
So Jack if you can add it...
Something like;
grid.on('beforeHeaderContextMenu', function(grid, column, menu) {
menu.addItem(...);
...
});
Angelo
Powered by vBulletin® Version 4.1.5 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.