Best approach to display different number of columns

2 posts, 0 answers
  1. alex
    alex avatar
    3 posts
    Member since:
    Aug 2016

    Posted 19 Sep Link to this post

    Please help to figure out the most appropriate solution for the following scenario: we need to display grid that is fed by the stored procedure that can return different number of columns. Ideally we would like to use the same code for all different output since Telerik Grid offers the option to display all the columns that are part of the datasource datatable. There is one column that is present in every output which has value one or zero and is needed to be a checkbox. By selecting/deseclecting checkbox and clicking "update" button the corresponding values should be fed into stored procedure to save them into the database. So if you could make a suggestion it would be greatly appreciated. Thank you.
  2. Eyup
    Admin
    Eyup avatar
    3015 posts

    Posted 22 Sep Link to this post

    Hi Alex,

    You can achieve this requirement using the implementation demonstrated in the following article:
    http://docs.telerik.com/devtools/aspnet-ajax/controls/grid/defining-structure/changing-the-grid-structure-dynamically-on-postback

    I hope this will prove helpful.


    Regards,
    Eyup
    Telerik by Progress
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top