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

Custom build with Grid excludes Filtercell

2 Answers 78 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Troy
Top achievements
Rank 1
Troy asked on 12 Apr 2017, 04:01 AM

Using the bower package and its gulp "custom" task to build a custom distribution, if I include the grid widget, it doesn't seem to automatically include the "filtercell" widget, so grids with filtering will throw an error due to the missing code.  The Grid source defines a bunch of dependencies including "kendo.filtermenu", "kendo.excel", etc.  Shouldn't "kendo.filtercell" be a dependency as well, or is there some reason it has to be included separately?

Someone brought this up a year or two ago, but over in the Issues area of Core on github, but it was closed as a Pro problem.  I don't know if it was ever raised here.  I can include filtercell in the argument list to "gulp custom" if necessary, but I was just curious.

2 Answers, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 18 Apr 2017, 07:45 AM
Hello,

Note that gulp custom does not include optional features (the one that are not needed the component to run). As you mentioned they should be included separately.

Regards,
Pavlina
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Troy
Top achievements
Rank 1
answered on 18 Apr 2017, 04:13 PM

But the question is why filtercell is an optional feature while 'kendo.pdf', "kendo.excel" etc. are inclusions?  Perhaps I'm wrong, but I didn't think the grid would fail to run without those (unless one turned on PDF or Excel capabilities)?  I've seen a number of reminders that the gulp/custom builder does NOT allow leaving out subcomponents of things like Grid, unlike the download builder.

I see that "filtercell" has its own requirements (widgets like "autocomplete" and "datepicker"), and perhaps it would be undesirable to have these as direct requirements of Grid, so that "filtercell" is a different type of "optional" from the others?  But anyone converting from kendo.all to building kendo.custom would only discover this by trial and error.

Tags
General Discussions
Asked by
Troy
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Troy
Top achievements
Rank 1
Share this question
or