How to get telerik grid hide columns information(Uncheck Columns)

2 posts, 0 answers
  1. dilip
    dilip avatar
    2 posts
    Member since:
    Sep 2008

    Posted 20 May 2013 Link to this post


    I am using Telerik Grid in my project.I set the "EnableHeaderContextMenu="true" " to Hide/Show the Grid Columns.My requirement is how to get the Hide Columns information from Javascript. Please find the attachment for your reference ,i hide the 2 of clolumns from list ,my requirement is how to get "ORDERID" and "SHIPNAME" columns?

    Thanks for advance ..
  2. Eyup
    Eyup avatar
    4045 posts

    Posted 23 May 2013 Link to this post

    Hi Dilip,

    You can use the following events to handle the toggling of the column display:
        <ClientEvents OnColumnShowing="columnFunction" OnColumnShown="columnFunction"
            OnColumnHiding="columnFunction" OnColumnHidden="columnFunction" />
    function columnFunction(sender, args) {
        var columnName = args.get_gridColumn().get_uniqueName();

    Hope this helps. Please give it a try and let me know if it works for you.

    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top