Telerik Forums
Kendo UI for Angular Forum
1 answer
218 views

Sir/Madam,
                  I am sumant.ch working as a UI Developer Actually I am unable to add color picker in kendo angular grid So can you please provide the solution as soon as possible

Hetali
Telerik team
 answered on 09 Mar 2021
2 answers
1.7K+ views
How to export to excel filtered data in kendo grid using angular 8 
Chamal
Top achievements
Rank 1
Veteran
 answered on 08 Mar 2021
2 answers
97 views

Good day!  Here is another question on the ComboBox allowing custom additions.

When the valueNormalizer function returns, is  there a simple way to have the new accepted value be automatically added to the the data list without requesting essentially a refresh?

Martin Bechev
Telerik team
 answered on 08 Mar 2021
1 answer
1.5K+ views

Hi,

I would like to use the FormField component but for now it is not possible due a missing feature.

I would like to display multiple error messages for a FormField, something like:

```

<kendo-formfield>

    <kendo-label [for]="firstName" text="First Name"></kendo-label>

    <input formControlName="firstName" kendoTextBox #firstName required/>

    <kendo-formhint>Your first name</kendo-formhint>

 

    <kendo-formerror error="required">Error: First name is required</kendo-formerror> <=== Only shown if this specific error occures

    <kendo-formerror error="min">Error: First name is to short</kendo-formerror> <=== Only shown if this specific error occures

</kendo-formfield>

```

Is there a possibility to show multiple error messages or

are there any plans to extend the FormField component to support this?

 

Maybe using a template for error messages would be also a good idea,

to pass some data to the message which then can be used in the message itself, something like:

```

<kendo-formfield>
    <kendo-label [for]="firstName" text="First Name"></kendo-label>
    <input formControlName="firstName" kendoTextBox #firstName required/>
    <kendo-formhint>Your first name</kendo-formhint>

    <ng-template kendoFormError error="required">Error: First name is required</ng-template>
    <ng-template kendoFormError error="min" let-errorData>

        Error: First name is to short, it should have a length of at least {{errorData.min}} characters

    </ng-template>
</kendo-formfield>

```

 

Georgi
Telerik team
 answered on 08 Mar 2021
4 answers
1.0K+ views

Hi, 

I'm trying to create some sort or state persistence without having to *ngFor the columns in markup and remap all columns attributes, because that way it's hard to use column templates etc...

To reach that I'm using the grid.reorderColumn() method to restore column order instead. 

The issue with that is, when setting hidden columns visible `grid.columns[i].hidden = true` and immidiately reorder that column, the grid internal method updateColumnIndices() throws an error, because it doesn't get the newly visible column from expandColumnsWithSpan() and expandedColumns.indexOf(source) is -1. 

TypeError: Cannot set property 'orderIndex' of undefined
    at GridComponent.push../node_modules/@progress/kendo-angular-grid/dist/fesm5/index.js.GridComponent.updateColumnIndices (https://localhost:4201/vendor.js:196833:43)

As a quick an dirty hack I'm now restoring visibilty first and then using setTimeout to restore sortOrder. Which works "for now" but doesn't seem to be reliable. 

Also, setting `grid.columns[i].hidden` doesn't fire columnVisibilityChange.

Am I missing something here? Any idea on how to solve that?

Why are there no methods like getOptions/setOptions as with the jQuery grid?

Charanpreet
Top achievements
Rank 1
Veteran
 answered on 08 Mar 2021
2 answers
95 views

Hello,

Is it possible to use angular animations
    https://angular.io/guide/animations#animating-a-simple-transition

with your Detail Row Template: 
    https://www.telerik.com/kendo-angular-ui/components/grid/master-detail/detail-template/

Specifically, when the row is expanded and collapsed?  More specifically, if this is possible, on which element would I place the animation trigger?  

Thank you,

-Daniel

Daniel
Top achievements
Rank 1
 answered on 05 Mar 2021
3 answers
835 views

How can I use the Kendo-datepicker when I am using Reactive forms and the date field is nullable. So sometimes there is a date and sometimes there is not. I can't seem to make this work. An example of how to make this work would help.

Currently, if the date is null or undefined, I get this HTML error:  "ERROR TypeError: Unable to get property 'toString' of undefined or null reference"

 

Any advice would help.

Thanks

 

Thamarai
Top achievements
Rank 1
Veteran
 answered on 05 Mar 2021
5 answers
6.0K+ views
Is it possible to disable the selection of specific rows based on the row data? Disable would mean that the selection checkbox would not appear (or would be disabled) and selection by mouse click would be disabled.
Thamarai
Top achievements
Rank 1
Veteran
 answered on 05 Mar 2021
2 answers
1.5K+ views
Maybe I'm missing something but I couldn't find how to do this in the documentation?!  I am using the ButtonGroup to represent a set of values for a configuration screen.
Nithya
Top achievements
Rank 1
 answered on 04 Mar 2021
1 answer
112 views
How to export to excel filtered data in kendo grid using angular 8 
Hetali
Telerik team
 answered on 04 Mar 2021
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?