Change column Header text through UI

2 posts, 0 answers
  1. Michael
    Michael avatar
    1 posts
    Member since:
    Jul 2015

    Posted 19 Apr 2016 Link to this post

    It would be great if you could change the Header Text and save as part of the layout.

    I have an application that is used by different customers. The base tables are the same but the customers want to name the columns differently.

    I really want this something they can change and save as a user or system setting.

    I am trying to come up with a good way to have a standard page that allows this functionality that I can use throughout my site.

    Question 1. Can this be done in the layout saving/presistance?

    Question 2. Is there a good way to provide a means to click on a header and allow modification of the header text.

    Tried putting something in the context menu without success?

    Any help would be much appreciated.


  2. Konstantin Dikov
    Konstantin Dikov avatar
    2466 posts

    Posted 22 Apr 2016 Link to this post

    Hello Michael,

    The Persistence Framework could be used for storing the HeaderText, but not with the built-in functionality. For this custom setting you will have to handle the SaveCustomSettings and LoadCustomSettings events:
    As for the editing, you could attach handler for the click event of the TH elements (rgHeader class name as selector) and open RadWindow for example that will allow the user to set the new name. Afterwords you will have to find a way to initiate the saving of the custom setting.

    Best Regards,
    Konstantin Dikov
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Back to Top