Remove/hide footer

2 posts, 0 answers
  1. Vitalii
    Vitalii avatar
    1 posts
    Member since:
    Mar 2015

    Posted 27 Mar 2015 Link to this post

    I can't find any options to remove Gantt footer.
    For now I'm using ability to extend Gantt plugin:

    var oldGantt = kendo.ui.Gantt;
    var GanttExtended = kendo.ui.Gantt.extend({
        init: function(element, options) {
            oldGantt.fn.init.call(this, element, options);
        },
        _footer: function() {
            this.footer = $([]);
        }
    });
    kendo.ui.plugin(GanttExtended);


    But I think it would be better to have some option to disable footer.

    For example:
    1. Initialize Gantt
    $('#gantt').kendoGantt({
      footer: false
    });
    2. Check in the method
    var Gantt = Widget.extend({
      _footer: function() {
          if (!this.options.editable || !this.options.footer) {
              return;
          }
          ...
      },
    });

  2. Bozhidar
    Admin
    Bozhidar avatar
    1102 posts

    Posted 30 Mar 2015 Link to this post

    Hello,

    Thank you for the suggestion. I've logged it for consideration for future releases.

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