This is a migrated thread and some comments may be shown as answers.

Remove/hide footer

1 Answer 365 Views
Gantt
This is a migrated thread and some comments may be shown as answers.
Vitalii
Top achievements
Rank 1
Vitalii asked on 27 Mar 2015, 09:26 AM
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;
      }
      ...
  },
});

1 Answer, 1 is accepted

Sort by
0
Bozhidar
Telerik team
answered on 30 Mar 2015, 07:23 AM
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!
 
Tags
Gantt
Asked by
Vitalii
Top achievements
Rank 1
Answers by
Bozhidar
Telerik team
Share this question
or