kendo-ui-angular2

Angular reusable template

本秂侑毒 提交于 2019-12-04 12:24:51
问题 Is it possible to write reusable ng-template ? A lot of my components use exactly the same ng-template . For example: <kendo-grid> <kendo-grid-column field="group"> <ng-template kendoGridEditTemplate let-dataItem="dataItem" let-formGroup="form"> <kendo-dropdownlist #listGroups [data]="groups" textField="title" valueField="id" [valuePrimitive]="true" [filterable]="true" [formControl]="form.get('groupId')"> </kendo-dropdownlist> </ng-template> </kendo-grid-column> </kendo-grid> I do not want to

Kendo Angular 2 Grid Filter not available

眉间皱痕 提交于 2019-12-04 05:54:16
I am using the Kendo Grid with Angular 2 using this http://www.telerik.com/kendo-angular-ui/components/grid/data-binding/ tutorial but I didn't find filtering in the grid. How can I filter my Kendo Grid with Angular 2? Filters are not available in current Beta.0 version of kendo-angular2-grid. At present, you can use limited API which are listed here Issue is already reported on telerik's kendo-angular2. Refer this Comment from Telerik member on this filter issue- We don't have a concrete timeline for the grid filtering feature. There are a number of prerequisites of this feature, the most

Kendo UI Angular : (SystemJS) Unexpected token <

[亡魂溺海] 提交于 2019-12-01 18:18:05
I'm using VS2015 RC3, Angular2 2.0.0 on an ASP.NET Core solution using IIS. Whenever I try to add a new UI module such as dropdowns or inputs, I get a SystemJS error, but the weird thing is that my buttons work without any issue... master.module.ts : import { ButtonsModule } from '@progress/kendo-angular-buttons'; import { DropDownsModule } from '@progress/kendo-angular-dropdowns'; import { InputsModule } from '@progress/kendo-angular-inputs'; @NgModule({ imports: [ CommonModule, MasterRouting, ButtonsModule, // => Works fine and button is showing as expected InputsModule, // Error :

Kendo Angular 2 Grid DateTime format

早过忘川 提交于 2019-12-01 04:51:49
问题 Does anyone know how to properly format a DateTime in the grid? (Is this datatype even supported?). No matter what I put in the "filter" property of the column, my date doesn't seem to get parsed. I see this value displayed: /Date(1480643052457)/ Any help or suggestions greatly appreciated! ---- Updated ---- Just as a quick update on what I ended up doing: I simply created a second string column and returned a formatted date string (that I format at the point of retrieval). Then when I sort,

Kendo UI for Angular2 - Grid How to Add Columns Dynamically

强颜欢笑 提交于 2019-12-01 03:05:50
问题 For the Grid compomemet, if I already have a couple columns predefined in the html but the resultset can have a variety of additional columns on top of the predefined ones, how can I dynamically adds those columns? There is no way to know what those extra columns are until after I retrieve the data? I am able to access the grid component after the data is fetched using the ViewChild directive, but looking over the grid's columns' array like object, I don't see a way to add columns