How to change the height "Gantt"?

2 posts, 0 answers
  1. Gen
    Gen avatar
    3 posts
    Member since:
    Aug 2014

    Posted 19 Aug 2014 Link to this post

    I want you to have two buttons "hide" and "resize". How do I do this? 

    Sorry for my english.

    <div id="example">   
      <div ng-app="KendoDemo" ng-controller="MyCtrl">  
      <button ng-click="onButton1Click()">resize</button>
      <div id="gantt" kendo-gantt k-options="ganttOptions"></div>

    $scope.onButton1Click = function() {
    $scope.ganttOptions.height = 900; // ??? not work (
  2. Bozhidar
    Bozhidar avatar
    1096 posts

    Posted 20 Aug 2014 Link to this post


    You have to include the k-rebind attribute as well, like so:
    <div kendo-gantt k-options="ganttOptions" k-rebind="ganttOptions"></div>

    And here is a working example:

    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top