Working With Grid

2 posts, 0 answers
  1. Taffy Lewis
    Taffy Lewis avatar
    10 posts
    Member since:
    Apr 2019

    Posted 10 Jun 2019 Link to this post

    Starting out with the tool, was looking at the tutorials.  Tried to use the ".Deferred" property on the grid as described in the tutorial, but and the records do not show when I use this features-as suggested.  Reviewing the Kendo examples, I don't really see the use of ".Differed."  Is this an outdated property. 

  2. Georgi
    Admin
    Georgi avatar
    684 posts

    Posted 12 Jun 2019 Link to this post

    Hello Taffy,

    The Deferred method will defer the initialization scripts to a specified place. Please have in mind that you have to specify where the scripts should defer.

    e.g.

        @(Html.Kendo().Grid<Model>()
              .Name("grid")
              .Deferred()
        )
     
    // the script will be inserted here
    @Html.Kendo().DeferredScriptsFor("grid")

    More information about deferred initialization can be found in the following article:



    Regards,
    Georgi
    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