dynamic grid

2 posts, 0 answers
  1. Zakaria
    Zakaria avatar
    4 posts
    Member since:
    Sep 2018

    Posted 29 Oct 2018 Link to this post

    I have to create a grid’s columns dynamically. I followed the following steps:
    1 - Create the RadGrid .
    2 – Select a table from the database that contains column’s names, types, ...
    3 - Create for each column a gridBoundColumn.
    4 - Select data corresponding to the selected columns and bind it to the grid.
    It’s working fine. My question is : is there a better way to create a dynamic grid ?
  2. Rumen
    Admin
    Rumen avatar
    13729 posts

    Posted 31 Oct 2018 Link to this post

    Hi Zakaria,

    Your approach is OK.

    Just for your information, you can find more details on how to build a dynamic RadGrid at Creating a RadGrid Programmatically.

    Best regards,
    Rumen
    Progress Telerik
    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Back to Top