Telerik Forums
Kendo UI for Angular Forum
1 answer
908 views
    Is there a way to make the dialog responsive? The api says that it only takes pixels as the height/width, but I do not want to hard code pixels.
Dimiter Topalov
Telerik team
 answered on 25 Jul 2019
2 answers
250 views

Kendo Angular is not formatting Japanese Yen correctly, it is always placing two decimal places and this is incorrect.  There is no such thing as a fraction of a Yen.  Our users will literally scream at this oversight.

I compared the Kendo Jquery culture file to the Kendo Angular culture file for the ja culture and to my astonishment I see that the "decimals:0" for the currency formating section of the Jquery file is not even in the Angular file.  I tried adding it, but it made no difference.  This is a HUGE oversight in the Angular culture files.  My application needs to support 40 currencies and we rely on the culture files for correct formatting and there are several currencies with differing decimal places, so this is not the only currency where the Kendo Angular data is very wrong.

We need this added ASAP.

Doug
Top achievements
Rank 1
 answered on 23 Jul 2019
3 answers
1.5K+ views

Hi,

I have a grid with dynamic columns and for each column I need a specific editor that should be created at run time.

How can I create custom the editor on run time and append the component to cell using Kendo grid for Angular?. Here is an example where I use Jquery :http://jsfiddle.net/falafelsoftware/yX6kg/

Thank you!

Dimiter Topalov
Telerik team
 answered on 22 Jul 2019
5 answers
1.1K+ views

Looking at this post from another one of your boards.

https://www.telerik.com/forums/extend-kendo-mvc-ui-datasourceresult-with-new-property

I'm doing the exact same thing with Angular.  I managed the web service changes so the data is returned to Angular but I've not been successful at extracting the extra data and to keep functionality like sort/filter working.

 

 

 

 

 

 

Dimiter Topalov
Telerik team
 answered on 19 Jul 2019
2 answers
205 views
I have the chart code below that I would like to format so that the series names appear on the category axis as shown in the CaptureBugGood image,  my chart currently appears as in CaptureBugBad image.

Is there a way to have two levels of category axis labels such as category and then series, if not how can I put just the series names on the category axis while maintaining the series colors etc.
 
<kendo-chart *ngIf="!(graphType=='Doughnut')">
   <kendo-chart-value-axis>
     <kendo-chart-value-axis-item *ngFor="let item of valueAxes" [name]="item.name" [title]="{ text: item.title }"
                           [max]="item.max">
      <kendo-chart-value-axis-item-labels  [format]="item.format">
       </kendo-chart-value-axis-item-labels>
     </kendo-chart-value-axis-item>
   </kendo-chart-value-axis>
   <kendo-chart-category-axis>
     <kendo-chart-category-axis-item   [title]="xAxis_Label" [categories]="categories" [axisCrossingValue]="crossingValues">
     </kendo-chart-category-axis-item>
   </kendo-chart-category-axis>
   <kendo-chart-axis-defaults>
     <kendo-chart-axis-defaults-labels>
       <!-- format="n0"-->
     </kendo-chart-axis-defaults-labels>
   </kendo-chart-axis-defaults>
   <kendo-chart-legend [visible]="false"></kendo-chart-legend>
   <kendo-chart-series>
     <kendo-chart-series-item *ngFor="let series of model"
                              [name]="series.name"
                              [data]="series.data"
                              [categoryField]="series.category" field="value"
                              [stack]="series.stack"
                              [color]="series.color"
                              [type]="series.type"
                              [axis]="series.axis">
       <kendo-chart-series-item-tooltip>
         <ng-template let-value="value" let-category="category">
           <span [innerHTML]="series.dataLabel.replace('[value_1]', value.toLocaleString() ).replace('[year]', category ).replace('[series]', series.name ).replace('[#%]', ((value)*100).toFixed(1).toString() + '%') "></span>
         </ng-template>
       </kendo-chart-series-item-tooltip>
     </kendo-chart-series-item>
   </kendo-chart-series>
 </kendo-chart>
Daniel
Telerik team
 answered on 19 Jul 2019
2 answers
133 views

I am having trouble with the Grid Column Menu Filter and Columns button not popping the menu in all versions of IE. I have seen bug reports for jquery version but I am using straight angular 7 (no jquery). Wondering if I am missing something or maybe I need to update my progress versions?

 

Thanks,

 

Paul

schakravarty
Top achievements
Rank 2
Iron
Iron
 answered on 18 Jul 2019
3 answers
545 views

Quick question for OnPush strategy, any recommendations on how I can hook clicks on the hierarchy cells? Everything else seems to work pretty well but I noticed the hierarchy cells aren't traditional buttons.

 

Thank you!

Dimiter Topalov
Telerik team
 answered on 18 Jul 2019
1 answer
254 views
I'm trying to store one date in my database with the [Date Picker Component for Kendo Ui][1]

So, this component format my selected data like this:

2019-07-23T00:00:00



I try to catch the return of the saved object and insert in my actual object, but i receive:

> Error: The 'value' should be a valid JavaScript Date instance. Check
> http://www.telerik.com/kendo-angular-ui/components/dateinputs/datepicker/#toc-using-with-json
> for possible resolution.

My component:
<kendo-datepicker [(value)]="ReferenciaMktDataDisponivel" ></kendo-datepicker>

Also tried:

    let dataDisponibilidade = new Date(this.formGroup.get('ReferenciaMktDataDisponivel').value)
          this.formGroup.get('ReferenciaMktDataDisponivel').setValue(dataDisponibilidade)


My console.log of this date: `2019-07-17T00:00:00`

Can someone help me ?

  [1]: https://www.telerik.com/kendo-angular-ui/components/dateinputs/datepicker/
Dimiter Topalov
Telerik team
 answered on 18 Jul 2019
1 answer
606 views
Is there a way to default the built in filter menu logic to use "OR" as opposed to "AND"? I know that you can remove the secondary filter option using the [extra] attribute, but what I'm looking for is simply a way to make the default logic selection "OR". 
Dimiter Topalov
Telerik team
 answered on 17 Jul 2019
1 answer
716 views

I have a file uploader:

<kendo-upload
   #templateUploader
   id="document"
   [multiple]="false"
   [saveUrl]="uploadSaveUrl"
   [removeUrl]="uploadRemoveUrl"
   [autoUpload]="false"
   [disabled]="!templateTypeSelected"
   [restrictions]="fileRestrictions"
   (remove)="removeEventHandler($event)"
   (success)="successEventHandler($event)"
   (upload)="uploadEventHandler($event)">
</kendo-upload>

And I need to dynamically change fileRestrictions.allowedExtensions when I select a different document type from a drop down list:

templateTypeSelectionChange(documentType: NcDocumentTypeDto) {
    this.templateTypeSelected = true;
    this.selectedNcDocumentCategory.documentTemplate.ncDocumentTypeId = documentType.id;
    this.fileRestrictions.allowedExtensions = documentType.extensions.split(',');
}

The string array is set correctly but the component is not updated with new file restrictions.  What is the problem?

 

Dimiter Madjarov
Telerik team
 answered on 16 Jul 2019
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?