Changing Header Text and Hiding Some Column in client Side

7 posts, 0 answers
  1. Arvind Singh
    Arvind Singh avatar
    7 posts
    Member since:
    Aug 2009

    Posted 13 Oct 2009 Link to this post

    Hi,

    I am populating grid through WCF method in client side. DEpending upon some condition, i need to change the header text of some column and hide some columns. Please let me know how we can do this?

    Thanks in advance.
    Arvind
  2. Schlurk
    Schlurk avatar
    812 posts
    Member since:
    May 2009

    Posted 13 Oct 2009 Link to this post

    I am not sure about editing the column headers, however the following documentation articles discuss functions to show and hide columns client-side.


    Since these require an index, and not a name, of the column you are attempting to hide/unhide you can refer to this forum post to see how to figure out the index of a column.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Arvind Singh
    Arvind Singh avatar
    7 posts
    Member since:
    Aug 2009

    Posted 15 Oct 2009 Link to this post

    Hi Schlurk,

    I got the solution same day. We can hide the header column through indexing and item column through columnname. Thanks for your response.

    Regards,
    Arvind
  5. Mark Galbreath
    Mark Galbreath avatar
    171 posts
    Member since:
    Jul 2009

    Posted 04 Feb 2010 Link to this post

    I am not sure about editing the column headers, however the following documentation articles   
    discuss functions to show and hide columns client-side.  
     
     

    You are kidding, right?  Have you actually looked at that so-called API?  That is no help whatsoever.

    Cheers!
    Mark
  6. Sebastian
    Admin
    Sebastian avatar
    9934 posts

    Posted 05 Feb 2010 Link to this post

    Hello Mark,

    The usage of these method from the client API of RadGrid for ASP.NET AJAX is presented on this online demo:

    http://demos.telerik.com/aspnet-ajax/grid/examples/client/clientsideapi/defaultcs.aspx

    We will also consider including short samples in the documentation topics to illustrate how these methods can be executed.

    Best regards,
    Sebastian
    the Telerik team

    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
    Follow the status of features or bugs in PITS and vote for them to affect their priority.
  7. Mark Galbreath
    Mark Galbreath avatar
    171 posts
    Member since:
    Jul 2009

    Posted 05 Feb 2010 Link to this post

    Much better!!!  Thanks, Sebastian!

    Cheers!
    Mark
  8. Schlurk
    Schlurk avatar
    812 posts
    Member since:
    May 2009

    Posted 05 Feb 2010 Link to this post

    You can also very easily access the rest of the documentation with the navigation on the left with the links I provided. I simply gave him the links to the specific functions so that he could see the details of the function and then look around in the other documentation links :)
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017