kendo grid k-on-data-bound event

2 posts, 0 answers
  1. Sreeja
    Sreeja avatar
    1 posts
    Member since:
    Oct 2015

    Posted 06 May Link to this post

    I have an issue in setting the fixed height to kendo grid. It wont load that fixed height on initial loading time. After that it will work properly.

    To fix this I hooked the k-on-data-bound event and trying set the height as follows

    kendoEvent.sender.k-grid-content.height(400);

    But I am unable to get kendoEvent/grid in this event. Please provide the solution to fix this

  2. Dimiter Topalov
    Admin
    Dimiter Topalov avatar
    356 posts

    Posted 09 May Link to this post

    Hi Sreeja,

    You can use either 

    ...
    data-height="200px"
    ...

    ... or set the height of the containing div, as in the following demo:

    http://demos.telerik.com/kendo-ui/grid/mvvm

    More information about the Grid's appearance is available in our documentation:

    http://docs.telerik.com/kendo-ui/controls/data-management/grid/appearance#height

    I hope this helps.

    Regards,
    Dimiter Topalov
    Telerik
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. Kendo UI is VS 2017 Ready
Back to Top