Telerik Forums
Kendo UI for Angular Forum
2 answers
184 views

Is kendo-upload broken? Using Angular 9 and get what looks like a broken component looking for a list of classes called selectButtonClasses

<kendo-upload [saveUrl]="uploadSaveUrl" [removeUrl]="uploadRemoveUrl"> </kendo-upload>

Missing class list on this item in your template:
<div role="button" #fileSelectButton
             [id]="focusableId"
             [ngClass]='selectButtonClasses'

Brandon
Top achievements
Rank 1
 answered on 17 Jan 2020
1 answer
760 views

While implementing kendo-menu. The class .k-animation-container gets css (overflow: hidden) automatically. Due to this menu gets disappear on hover or on click.

Any feedback welcome and thanks :-)

Svet
Telerik team
 answered on 17 Jan 2020
1 answer
1.4K+ views

I want to add a Placeholder to my MaskedTextBox. But adding the placeholder attribute does not work.

I even set maskOnFocus to true so that placeholder will be shown but to no avail.

<kendo-maskedtextbox [maskOnFocus]="true" [mask]="mask" [value]="value" placeholder="Phone Number"></kendo-maskedtextbox>

 

Is there a way for me to achieve this in the current version?

And are there plans to support placeholder in MaskedTextBox in the near future?

Hetali
Telerik team
 answered on 16 Jan 2020
14 answers
613 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
883 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
777 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
583 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.0K+ 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
542 views
Any examples on how to add spell checking to the editor?
Svet
Telerik team
 answered on 01 Jan 2020
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?