Define grid columns in code

6 posts, 0 answers
  1. Ben
    Ben avatar
    12 posts
    Member since:
    Jul 2010

    Posted 04 Feb 2014 Link to this post

    I am wanting to replace MVCContrib grid with the Telerik grid in our projects.  With the Telerik grid can we define columns as a class like in MVCContrib e.g. Html.Grid(listOfData).WithModel(new ItemGridDef()) ?  

    This allows us to reuse the grid in our project.
  2. Alexander Popov
    Admin
    Alexander Popov avatar
    1416 posts

    Posted 06 Feb 2014 Link to this post

    Hi Ben,

    Thank you for your interested in Kendo UI! The following articles describe in detail how the Kendo UI Grid could be used:

    Regards,
    Alexander Popov
    Telerik
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. UI for ASP.NET MVC is VS 2017 Ready
  4. Ben
    Ben avatar
    12 posts
    Member since:
    Jul 2010

    Posted 06 Feb 2014 in reply to Alexander Popov Link to this post

    Well that did not answer my question.

    Can Keno UI grid for MVC do the same as that MVCContrib like in the grid model examples on http://www.jeremyskinner.co.uk/2009/02/23/rewriting-the-mvccontrib-grid-part-3-gridmodels-and-gridrenderers/ ?



  5. Alexander Popov
    Admin
    Alexander Popov avatar
    1416 posts

    Posted 06 Feb 2014 Link to this post

    Hello Ben,

    I apologize if my answer was too broad. At this point using a custom class to specify the Grid's settings is not supported out of the box.

    Regards,
    Alexander Popov
    Telerik
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  6. Ben
    Ben avatar
    12 posts
    Member since:
    Jul 2010

    Posted 06 Feb 2014 in reply to Alexander Popov Link to this post

    Thanks Alex. Could this be added as a feature request? This allows for better reuse of the grid column set-up and is a show stopper of moving to Kendo UI.
  7. Alexander Popov
    Admin
    Alexander Popov avatar
    1416 posts

    Posted 07 Feb 2014 Link to this post

    Most certainly! I would encourage you to submit this as a feature request at the KendoUI UserVoice portal, so we and other members of the community can evaluate, comment on and vote for it. Highly voted suggestions are often implemented in future KendoUI releases.

    Regards,
    Alexander Popov
    Telerik
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top
UI for ASP.NET MVC is VS 2017 Ready