Editing Grid Header Columns in the UI

2 posts, 0 answers
  1. Mariano
    Mariano avatar
    3 posts
    Member since:
    Nov 2013

    Posted 08 Jun 2015 Link to this post

    Hi all:

     We have a functional requirement to be able to edit the data in a column inside a kendo grid, by selecting a different header.

     For example, let's say we have a kendo grid that has six columns. 

     Name City Class etc

    We need the ability for a user (with the given permission) to select a different option for each header column. 

    Let's say they decide that they don't want "Class" as the third header/column.  We'd like the user to be able to click into the header, a dropdown appear and then the user can select a different data source.  Once selected the grid would update with the new data in the third column.

     Anyone able to point me in the right direction?  We also need to be able to reorder the kendo columns but I see that already with the Grid/Column reordering drag drop feature which is perfect.

     Thanks!

     

  2. Boyan Dimitrov
    Admin
    Boyan Dimitrov avatar
    2062 posts

    Posted 10 Jun 2015 Link to this post

    Hello Mariano,

     

    As far as I understand the goal is to change the data shown in specific column. To achieve this, then the data for the entire grid should be changed (replaced). 

     

    A possible solution for this case would be using the data method of the data source or the setDataSource method of the Grid. 

     

    Regards,
    Boyan Dimitrov
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top