Telerik Forums
Kendo UI for Angular Forum
14 answers
633 views

I have a grid with a large number of columns, and upon initial load I call fitColumns to resize based on the data on the current page. In v4.5.0 of the grid, this worked fine, the columns would all resize, and the grid would be horizontally scrollable.

In 4.6.0 the behavior seems to have changed, and the call does not seem to work. The grid columns all shrink to fit the width of the grid, become very skinny, and no horizontal scrolling is enabled. 

Has this been reported / is known?

Thanks!

-Brian

Svet
Telerik team
 answered on 16 Jan 2020
4 answers
900 views

Hi,

I'm referencing https://www.telerik.com/kendo-angular-ui/components/excelexport/how-to/export-to-separate-sheets/ to do Excel export with *ngFor option, but the difference is that my data comes from a service instead of static client data. When calling 'this.excelExportComponents.first.save(workbooks[0]);' in the subscribe of the service call, I got below error:

core.js:6014 ERROR Error: Uncaught (in promise): TypeError: Cannot read property 'save' of undefined
TypeError: Cannot read property 'save' of undefined
    at management-view.component.ts:175
    at ZoneDelegate.invoke (zone-evergreen.js:359)
    at Object.onInvoke (core.js:39699)
    at ZoneDelegate.invoke (zone-evergreen.js:358)
    at Zone.run (zone-evergreen.js:124)
    at zone-evergreen.js:855
    at ZoneDelegate.invokeTask (zone-evergreen.js:391)
    at Object.onInvokeTask (core.js:39680)
    at ZoneDelegate.invokeTask (zone-evergreen.js:390)
    at Zone.runTask (zone-evergreen.js:168)
    at resolvePromise (zone-evergreen.js:797)
    at zone-evergreen.js:862
    at ZoneDelegate.invokeTask (zone-evergreen.js:391)
    at Object.onInvokeTask (core.js:39680)
    at ZoneDelegate.invokeTask (zone-evergreen.js:390)
    at Zone.runTask (zone-evergreen.js:168)
    at drainMicroTaskQueue (zone-evergreen.js:559)
    at ZoneTask.invokeTask [as invoke] (zone-evergreen.js:469)
    at invokeTask (zone-evergreen.js:1603)
    at XMLHttpRequest.globalZoneAwareCallback (zone-evergreen.js:1640)

I guess this.excelExportComponents.first is not ready yet in the sevice call subscribe and I should call the 'save' method at some point after the binding finished. After some experiment I ended up using a flag set to true after service call and in AfterViewChecked hook checking if the flag is true then do the concat and save, then reset the flag. This seems to work but seems not so ideal, as AfterViewChecked is quite frequently called. If there's better way do export async data?

Thanks.

Randy
Top achievements
Rank 1
Veteran
 answered on 14 Jan 2020
1 answer
788 views

I'm getting errors with the grid component on build. It appears a recent update to the buttons package is the cause. The update remove a click method but the button components in the grid package is relying on that method to be there. 

Current versions of both packages:
@progress/kendo-angular-buttons: 5.1.1
@progress/kendo-angular-grid: 4.6.0

Example of compile error:

ERROR in node_modules/@progress/kendo-angular-grid/dist/es2015/editing/add-command.directive.d.ts(30,5): error TS2416: Property 'click' in type 'AddCommandDirective' is not assignable to the same property in base type 'ButtonDirective'.  Type '(e: any) => void' is missing the following properties from type 'EventEmitter<any>': __isAsync, emit, subscribe, observers, and 18 more.

Dimiter Topalov
Telerik team
 answered on 08 Jan 2020
1 answer
3.8K+ views

Is there an example of how to make a button within a cell, for each row, and when clicked will open a modal popup window that could be used to provide more information for that grid row. 

Example: 

I have a product grid and want to have a column with a button for each product and when the button is clicked it will open a modal popup window that could show additional product details. The button click event would have to pass the ProductId as a parameter based on the row where the button is located. 

Dimiter Topalov
Telerik team
 answered on 07 Jan 2020
1 answer
592 views
Can I export specific rows from grid to pdf? 
I found how to export page and all pages but not specific rows.
Hetali
Telerik team
 answered on 03 Jan 2020
3 answers
2.1K+ views

Hi

 

I may well be missing the obvious but how do you resize the calendar?

Svet
Telerik team
 answered on 01 Jan 2020
1 answer
558 views
Any examples on how to add spell checking to the editor?
Svet
Telerik team
 answered on 01 Jan 2020
1 answer
84 views

In the documentation for the editor you have an execute function called viewSource. However the ts definitions don't list it as an option.

https://www.telerik.com/kendo-angular-ui/components/editor/api/EditorComponent/#toc-opendialog

editor.exec('viewSource');

Come to find out, obviously it makes since that its actually the openDialog method instructions and docs should read:

editor.openDialog('viewSource');

Alexander Valchev
Telerik team
 answered on 31 Dec 2019
4 answers
530 views

Hello,

 

When I run the tree view checkboxes example from your own site (https://www.telerik.com/kendo-angular-ui/components/treeview/checkboxes/),

it works properly in Chrome.

 

But in Edge there's this issue:once you only check a single children of a node, hence making its parent's state Indeterminate, clicking again on the parent doesn't update the children. While in Chrome all the children are selected, in Edge nothing happens.

From my testing, it seems like "checkedChange" event is not fired in Edge when clicking on an Indeterminate node.

 

What can be done? I use this component in our site, and we must support Edge users as well.

Dimiter Topalov
Telerik team
 answered on 30 Dec 2019
5 answers
1.7K+ views

I see the example for the Reusable Custom Filter with a DropDownList do you happen to have a similar example with a multiselect list. 

I am attempted to create a multi select reusable filter to be used in a grid menu filter.

https://www.telerik.com/kendo-angular-ui/components/grid/filtering/reusable-filter/

Ivan
Telerik team
 answered on 23 Dec 2019
Narrow your results
Selected tags
Tags
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?