[CLOSED] grid panel context menu items.

  1. #1

    [CLOSED] grid panel context menu items.

    Hi,

    i want to remove few items from grid panel column context menu based on condition, please help in removing.

    Regards,
    Prasoon Kumar Gupta
    Attached Thumbnails Click image for larger version. 

Name:	Capture.PNG 
Views:	8 
Size:	44.4 KB 
ID:	21921  
    Last edited by Daniil; Mar 02, 2015 at 6:31 AM. Reason: [CLOSED]
  2. #2
    Hi @Prasoon,

    You can set Hideable="false" for a specific Column and that Column won't appear in a Columns menu. Please note that a Hideable setting should be set up initially. I don't think that changing it on the fly produces any effect.
  3. #3
    Thanks a lot Daniil, it worked for me, i did by checking the condition on Page Load event and set by using below code

    GridPanelID.ColumnModel.Columns[index].Hideable = false;

Similar Threads

  1. [CLOSED] Column index or the header value of a grid panel in context menu.
    By arjunrvasisht in forum 2.x Legacy Premium Help
    Replies: 1
    Last Post: Jan 07, 2015, 10:34 AM
  2. Replies: 2
    Last Post: Apr 04, 2014, 5:11 AM
  3. Replies: 1
    Last Post: Jan 12, 2013, 4:30 AM
  4. Replies: 1
    Last Post: Nov 10, 2011, 1:16 PM
  5. Dynamic context menu items
    By JonG in forum 1.x Help
    Replies: 2
    Last Post: Nov 26, 2009, 7:37 AM

Tags for this Thread

Posting Permissions