Telerik Forums
Kendo UI for Angular Forum
11 answers
911 views

I've been trying at this for a couple days and noticing the same thing, ie. that I can get a combobox to read back selected values and record them successfully to a grid, I can get a combobox on its own to take and save the new custom values to my back-end through REST, but I can't combine the two.

As far as the API's are concerned this combination works for in-grid selection:

          <kendo-combobox [formControl]="dimensionTypeGridFormGroup.get('dimensionTypeId')"
                          [data]="dimensiontypes"
                          [textField]="'name'"
                          [valueField]="'id'"
                          [valuePrimitive]="true">
          </kendo-combobox>

This for creating new content:

<kendo-combobox [allowCustom]="true"
                [data]="combolists"
                [textField]="'name'"
                [valueField]="'id'"
                [valueNormalizer]="valueNormalizer"
                [(ngModel)]="clbuilder">
</kendo-combobox>

It seems like the moment I add [allowCustom] to a combobox in a grid cell it causes two things to happen:

1) the grid cell will be blank on save

2) only the default value is saved in the grid formgroup for that cell.

In a lot of cases I could indeed save my new record to my back end but the grid would stop working. In some of my trial and error I noticed that confusion was occurring (in the combobox API references) between the form control data and the combobox data (such as 'id' in the formGroup vs. in the export interface array). 

 

Is there a right way to do this through the combobox API components and, if not, is there a way that I could push the values I need back to the grid from somewhere else like a valueChange or valueNormalizer method? I remember there being an edit.service push back to grid in the in-cell grid editing example but I'm not sure how to hit that from within a component yet.

Ron
Top achievements
Rank 1
Iron
Iron
Iron
 answered on 15 Mar 2018
1 answer
3.6K+ views

Take a look at this Plunker:

https://plnkr.co/edit/SyfbOR4dlMqbB3FJwGzR?p=preview

What I'm trying to achieve is specifying a set of grid-columns using Angular ngFor and ngSwitch directives. Using ngFor renders fine, but once I try to introduce ngSwitch, it renders as if there were not grid-column components.

It should be possible but I'm wondering if I'm missing something?

 

Thanks.

Svet
Telerik team
 answered on 14 Mar 2018
2 answers
156 views
I have a scatter line chart that routinely displays 10 -15 individual series.  Users can reduce clutter and focus on a specific series by clicking off the corresponding legend items. However, it's a bit ponderous for the user to click that number of legend items.  I'd like to streamline this operation for users by providing two buttons: one that deactivates all legend items and the other that activates them all.  I can't see anything obvious in the Chart API.  Is there a way of accomplishing this programmatically?   
Mike
Top achievements
Rank 1
 answered on 13 Mar 2018
12 answers
417 views

I've been reading through the tutorial on creating a Master-Detail grid for Angular 4/5 and so far have been able to construct a working mock-up in VS Code without any significant roadblocks.

My current question: is it possible to retrofit the Master-Detail grid for API data received by JSON? If so what approach would you recommend - building the GridDataResult data input array within the component hosting the grid (such as is done with the programming in the grid edit examples) or is there a kendo-data-query module similar to toODataString that I can use to similar ends in northwind.services.ts under fetch and in the queries?

Eventually I'd like to incorporate full CRUD capabilities with most layers and for that reason I'm hoping to keep the read operation in the same API format as the edit, update, and delete.

 

 

Chau
Top achievements
Rank 1
 answered on 07 Mar 2018
4 answers
1.3K+ views
How do you position e.g. the Y-Axis to the right?
Dimiter Topalov
Telerik team
 answered on 07 Mar 2018
3 answers
240 views

Hello,

 

I am currently using the Kendo UI ComboBox widget in terms of a demanding Angular4 project and am facing the below issues:

1. The ComboBox is at the bottom of the page. When I open it, it is displayed as usual (and that's fine!). However, when I filter its content, the ComboBox does not respond as intended. Its expanded list does not appear exactly above the ComboBox. It remains where it was initially and there is a gap between the list and the ComboBox. Please take a look at the 3 screenshots attached in order to get a better understanding.

2. The response time for the scrolling action (outside the expanded list) seems to be much longer than it was expected. The expanded list remains for some seconds above the ComboBox. After that, the expanded list appears below the ComboBox. It is not possible to upload a screenshot for this case as it has to do with the time the expanded list needs to appear where it should without such a long delay. 

 

Sorry for the Greek language used in the screenshots and thank you very much in advance!

Dimiter Topalov
Telerik team
 answered on 07 Mar 2018
1 answer
1.1K+ views

I can show a table with columns inside the ng-template kendoGridDetailTemplate mimicking the look of a grid, but I want to know if there's a possibility to have a kendo-grid in the detail template to take advantage of sorting, filtering of the inner grid.

Also, is there a grid feature for aggregating columns for kendo-grid with Angular?

Thanks!

Dimiter Topalov
Telerik team
 answered on 06 Mar 2018
1 answer
194 views

Does a Kendo UI license cover all parts including Kendo UI controls for Angular, Kendo UI controls for jQuery, Kendo UI controls for React etc. or do we have to purchase each license separate?

If our team has to buy separate licenses for Kendo UI controls for Angular and Kendo UI controls for jQuery, where is the pricing information given?

P.S.

For the time being, our team needs only Kendo UI controls for AngularJS.

Alex Gyoshev
Telerik team
 answered on 05 Mar 2018
1 answer
966 views

Hi All,

Is it possible to use Kendo UI in Ionic 2 mobile app? Any sample projects or tutorials?

Thank you.

Dimiter Topalov
Telerik team
 answered on 02 Mar 2018
3 answers
700 views

I get this error:

TypeError: element.getBoundingClientRect is not a function

When trying to show a popup on a numeric text box. Please see my Plunker

https://plnkr.co/edit/yiFG7JrF49vEVJspCmiG?p=preview

Am I doing something wrong or is this a bug?

IT AE
Top achievements
Rank 1
 answered on 01 Mar 2018
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?