GridPanel Column Command?

  1. #1

    [CLOSED] GridPanel Column Command?


    Is it possible to have either;

    o A context menu appear when right-clicking on a column header
    o A new command added to the current column dropdown (the one that shows sort ascending, and column hiding)
    o Override the default sort functionality when you left-click a column header, and do something else

    I need this type of behaviour as I have a requirement to allow a user to choose a specific column against which an action is performed on the underlying data.

    Last edited by peter.campbell; Apr 08, 2011 at 9:39 AM.
  2. #2
    Can mark this as solved. I set the ContextMenuId on the individual columns, then added a HeaderContextMenu handler.

    ContextMenuID = "ColumnContextMenu"

Similar Threads

  1. Replies: 7
    Last Post: Sep 02, 2016, 7:47 PM
  2. Replies: 7
    Last Post: Jun 17, 2014, 10:14 AM
  3. Add command column in gridpanel
    By tmducit in forum 1.x Help
    Replies: 1
    Last Post: May 27, 2011, 11:27 AM
  4. [CLOSED] LinkButton command column in GridPanel
    By jmcantrell in forum 1.x Premium Help
    Replies: 5
    Last Post: Oct 21, 2010, 8:38 PM
  5. [CLOSED] GridPanel Command Column Does not Work!
    By Immobilmente in forum 1.x Premium Help
    Replies: 7
    Last Post: Mar 30, 2009, 5:26 AM

Tags for this Thread

Posting Permissions