I've used the kendo-upload control with the custom template to add a comment input for each file uploaded.
This was based on sample Kendo-upload in
stackblitz https://stackblitz.com/edit/angular-gmuolt?file=app/upload.component.ts
---
<label [for]="myUpload">Some upload label text</label>
<kendo-upload
#myUpload="kendoUpload"
[autoUpload]="false"
[saveUrl]="uploadSaveUrl"
[removeUrl]="uploadRemoveUrl">
<ng-template kendoUploadFileTemplate let-files let-state="state">
<div>Name: {{files[0].name}} Size: {{files[0].size}} bytes</div>
<input />
<button *ngIf="showButton(state)"
(click)="remove(myUpload, files[0].uid)"
class="k-button" style="position: absolute; right: .2em;">
Remove
</button>
</ng-template>
</kendo-upload>
-------
What would be the best way to access the value of the input controls for each file item?
I've tried using a dynamically generated ID for the input, but for my case this control is inside a tabstrip and if the user clicks on the submit when the focus is on another tab, the values cannot be retrieved.
Hello Telerik team,
is there any way to make the fast navigation bar visible in the Calendar of the DateTimePicker? (I would even be happy with an ugly way)
This really keeps me from using the DateTimePicker.
It makes no sense to me that this isn't configurable...
Using ngFor with an ng-container to iterate over column definitions seems to no longer work since moving to Angular 9. Is this a bug or is there any reason why the below grid would not display as expected?
<
kendo-grid
[data]="data">
<
ng-container
*
ngFor
=
"let column of columns"
>
<
kendo-grid-column
*
ngIf
=
"column.visible"
[field]="column.field" [title]="column.title">
</
kendo-grid-column
>
</
ng-container
>
</
kendo-grid
>
I'm having trouble setting an aria-label on my kendo grid detail template. The tools I'm using for testing are saying that 'links must have discernible text (see screenshot).
Our grid template contains another grid, which works fine, and looks something like this:
<kendo-grid>
/// Other columns
<div *kendoGridDetailTemplate="let dataItem"
<other-grid-component></other-grid-component>
</div>
</kendo-grid>
I've tried setting the aria-label and title attribute on the div but it's not working, I couldn't find any specific documentation on this. Can anyone advise?
Cheers,
Joe
Please get your forum sorted out, no code here because your "formatting options" button still doesn't work.
When using kendo-fileselect in a reactive form and setting restrictions to a given file type the fileselect widget will display that the file is incorrect but the form control in the form is not invalidated. This means extra code is needed to control validation.
This really annoying, can you please sort out your forum, it hardly fills us with confidence when you can't seem to get your own systems working.
See attached file.
How do I get the popup working in a modal?
I have injected the popup service and it appears in the background page, see attached image.
I would show you some code but seeing as though the forum hasn't been working all day, hey-ho!
I'll raise a ticket instead and hope you don't knock it off my allocation....
I am using the time picker to enter times. I am in the UK and currently all times are UTC (GMT is currently UTC).
I save my values to the database and somehow Kendo has managed to subtract an hour from the saved value.
It's no problem when I bring back the values to display in the time picker, it somehow adds an hour to display the correct time.
I am working with the abp framework which has standard UTC conversion so all my values in the database are held as UTC.
But Kendo somehow has managed to find a time format which doesn't exist making it very difficult to work with.
I would post some code to further demonstrate but the option for "Formatting options" at the top of this text box simply switches the value to "Hide formatting options".
Can someone tell me what's going on?
Is there a way to have a selected state on a dropdown button? Bonus points if the dropdown button is inside a kendo-toolbar.
Like a dropdown with 5 options, and I set option 1 to selected or active, or add class.
First, Im looking for the ability to customize the dropdown button on the toolbar. I found this example https://www.telerik.com/kendo-angular-ui/components/toolbar/custom-control-types/ but it appears to be out of date from the latest kendo ui libs and doesn't work in angular 9. I mean an exact copy of this example running Angular 9.0.0, results in no custom button.
So close on so many of these things but so far from being a useful library when custom matters in business apps.
It should not be that difficult to provide a custom template for the dropdown list.