kendo-ui-angular2

NPM package installation fails for @progress/kendo-angular-buttons

走远了吗. 提交于 2019-12-08 02:05:26
问题 I am trying to add New Component of KendoUI through Node package manager and unfortunately got below error: Reference URL : http://www.telerik.com/kendo-angular-ui/getting-started/ Guide me to resolve above error. 回答1: The official Angular examples, as well as Kendo UI for Angular 2, require NPM v3. See this answer for more information on how to update NPM on Windows. 回答2: The steps are mentioned in the link that you provided http://www.telerik.com/kendo-angular-ui/getting-started/ To enable

angular 4 Kendo dialog disable action button

久未见 提交于 2019-12-08 00:31:24
问题 I want disable 'Save' button if 'TotalUnits' < 0 . How can I disable actions 'Save' button? Main Component: AllocationDialog(data: any) { const dialog: DialogRef = this.component.dialogService.open({ title: ' Allocations', content: AllocationComponent, actions: [ { text: 'Save', primary: true, data }, ], width: 500, height: 500 }); dialog.result.subscribe((dialogResult) => { if (dialogResult instanceof DialogCloseResult) { console.log('close'); } else { console.log('action', dialogResult); }

ng2 - DevExtreme vs Telerik Kendo UI [closed]

血红的双手。 提交于 2019-12-07 17:37:03
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed last year . We are starting a new software using Angular2, typescript and HTML5. We have 2 options for UI components: - DevExtreme - Telerik Kendo UI Which one is better? Thanks 回答1: We faced the same question, or almost the same: KendoUI, DevExtreme or IgniteUI for a new application where

Kendo UI For Angular2 - Grid Row Select

元气小坏坏 提交于 2019-12-07 12:00:54
问题 I have a working <kendo-grid> component with 10 visible rows over a data set of 34 rows (approx 4 pages). Sorting and selecting is working as expected. <kendo-grid [data]="gridView" [pageSize]="pageSize" [skip]="skip" [pageable]="true" [height]="300" (pageChange)="pageChange($event)" [sortable]="{ mode: 'single' }" [sort]="sort" [selectable]="true" (sortChange)="sortChange($event)" (selectionChange)="selectionChange($event)"> Say I select second row. Then I sort the table and the selection

Getting Can't bind to 'routerLink' since it isn't a known property of 'a'. error in spite of referencing router moudule

喜欢而已 提交于 2019-12-07 04:48:30
问题 I am implementing basic routing in my angular 4 application and getting the following error when loading the application on the browser. I have defined the routes in approuting.module as also referenced the router module in Ngmodule as well approuting.module. Not sure what the problem is Can't bind to 'routerLink' since it isn't a known property of 'a'. Can't bind to 'routerLink' since it isn't a known property of 'a'. ("ew" [hidden]="!dataItem.isVisibleView"> <a [ERROR ->][routerLink]="['

Deploying angular 2 app Aot with Rollup and external dependencies

五迷三道 提交于 2019-12-06 11:10:35
I've implemented an angular 2 app which utilize Kendo UI Grid : I am stuck when deploying app with AoT + Rollup: Error: 'GridModule' is not exported by node_modules\@progress\kendo-angular-grid\dist\npm\js\main.js (imported by app\app.module.js). Tried this from Rollup documentation but I don't understand how to configure namedExports : commonjs({ namedExports: { 'node_modules/@progress/kendo-angular-grid/dist/npm/js/main.js': [ 'GridModule' ] } }); Using above configuration doesn't solve the problem. EDIT: finally my working configuration for grid is: namedExports: { '@progress/kendo-angular

how to add callbacks to kendo dialog actions

不想你离开。 提交于 2019-12-06 05:57:46
I've tried using the Kendo UI DialogService to call up my own component in a dialog. The issue I'm having is in using custom actions for my dialog. Including an ng-template with custom buttons and actions somewhat defeats the purpose of using the dialogService and clutters my template with markup not directly related to it. I've tried using code like this: const saveAction = { text: 'Save', primary: true }; const cancelAction = { text: 'Cancel' }; const dialog = this.dialogService.open({ title: 'Edit data', content: FormComponent, actions: [ cancelAction, saveAction ] }); const form = dialog

Kendo Angular 2 Grid Filter not available

微笑、不失礼 提交于 2019-12-05 23:38:06
问题 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? 回答1: 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

ng2 - DevExtreme vs Telerik Kendo UI [closed]

爷,独闯天下 提交于 2019-12-05 19:02:49
Closed . This question is opinion-based . It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post . Closed last year . We are starting a new software using Angular2, typescript and HTML5. We have 2 options for UI components: - DevExtreme - Telerik Kendo UI Which one is better? Thanks We faced the same question, or almost the same: KendoUI, DevExtreme or IgniteUI for a new application where the UI is build in Angular2. Our PoC led to the choice of DevExtreme. The main reason was the extensive

Kendo UI For Angular2 - Grid Row Select

北城以北 提交于 2019-12-05 18:41:17
I have a working <kendo-grid> component with 10 visible rows over a data set of 34 rows (approx 4 pages). Sorting and selecting is working as expected. <kendo-grid [data]="gridView" [pageSize]="pageSize" [skip]="skip" [pageable]="true" [height]="300" (pageChange)="pageChange($event)" [sortable]="{ mode: 'single' }" [sort]="sort" [selectable]="true" (sortChange)="sortChange($event)" (selectionChange)="selectionChange($event)"> Say I select second row. Then I sort the table and the selection stays on row two but of course it's highlighting a different record. It's always selecting the second row