Telerik Forums
Kendo UI for Angular Forum
1 answer
97 views

Hello,

                  I'm trying to add filters to the pivot grid as below. Please help me to implement filter option as below by using Kendo UI Angular.

This is the code I'm using for pivot grid and don't know where to add the property to enable the filter.

    <kendo-pivotgrid [kendoPivotLocalBinding]="timingTableData" [dimensions]="dimensions" [measures]="measures"
      [rowAxes]="rows" [columnAxes]="columns" [measureAxes]="defaultMeasureAxes">
    </kendo-pivotgrid>

Dimiter Topalov
Telerik team
 answered on 14 Feb 2023
1 answer
134 views

How do you pass the false to the animation of the skeleton?

I try

animation=false

animation="false"

animation='false'

always got error:   is not a valid kendo-skeleton animation. Valid values are: 'pulse' | 'wave' | false

I try in the Skeleton demo StackBlitz without success.

Thanks.

Dimiter Topalov
Telerik team
 answered on 14 Feb 2023
0 answers
163 views

Hi 

I am trying to add my own SVG to be rendered but I get erros at vsCode 

Can you please tell me how to add a custom SVG?

Many thanks

Please have a look:

Alexis
Top achievements
Rank 1
 updated question on 10 Feb 2023
0 answers
254 views

Hello, I am Gaizka Landa from Ingeteam Zamudio - Tech.,

We are facing challenges when trying to use KendoUI Charts in an Angular Web Application to display large digital electrical signals. We use two charts for this purpose - the first chart shows the complete signal and enables the user to select a portion of it, which is then displayed with more detail in the second chart.

However, the webpage often breaks or fails to load when we need to display a signal with up to 100,000 samples or 200 different signals each with tens of thousands of samples. The issue arises when the Kendo Chart component exceeds the Maximum Call Stack Size or Chrome cannot handle the data.

We are using Line Charts, but we have considered using Scatter Type Charts, which are supposed to have better performance, but the latter doesn't support the "Select" option in the categoryAxis, which is necessary for the user to select the data displayed in the second chart.

To optimize performance, we have followed the KendoUI Performance Tips such as enabling Canvas Rendering, removing grid lines, reducing the number of labels in the Category Axis, and implementing custom pagination to display the signal in batches. We have also set the visibility of "markers" and "highlight" to "false." Despite these efforts, we still face issues and are seeking additional ways to optimize the performance for displaying very large data.

Can you please provide any suggestions or recommendations for optimizing the performance in such cases?

Thank you for your help in advance!

Gaizka
Top achievements
Rank 1
 asked on 10 Feb 2023
0 answers
173 views

I have added the kendo default theme to angular application in angular.json. The compilation time takes more than 3 minutes whenever I make change the stylesheet in the root folder. The compilation time is more faster ,when I commented the kendo default theme from angular.json.

I tried to import the kendo theme as per the documentation in the style.scss file in root folder, but again the the compilation time is taking more than  3 minutes. Due to this the development time is taking more than usual.

How to override this problem.

Prakash
Top achievements
Rank 1
 asked on 10 Feb 2023
0 answers
80 views
After the latest version upgrade popup component doesn't work correctly - it doesn't update on data changes
Christina
Top achievements
Rank 1
 asked on 09 Feb 2023
1 answer
129 views

Hi.

I am having issue with upload component when uploading a single file. I am using @progress/kendo-angular-upload version 9.0.3. Angluar version 14.

When I select a file, upload it and get non-successful HTTP status code back from back-end (e.g. CSV file header validation didn't pass), then I get retry and remove buttons. When I click retry button, it retries to upload same file with POST request with all correct HTTP headers.

However, if I modify the file externally (e.g. by fixing CSV file header), save it and then try clicking retry button, upload component issues incorrect HTTP request to the back-end, various HTTP request headers are missing (e.g. it no longer specifies that it is a POST request). After inspecting 'good' failing POST request with 'bad' request, other than obviously missing HTTP headers I can see that the actual file which is being uploaded has incorrect modified date and size. Looks like that when I click retry button after modifying the file externally, upload component no longer works correctly.

Is this intended behavior due to browser nuances and how it works with files, or is this a bug? Or maybe I am doing something wrong...

Martin Bechev
Telerik team
 answered on 09 Feb 2023
0 answers
95 views

Hi,

I have bind dynamic kendo grid with multiple rows in footer. But, here horizontal scroll display with content. How Do I display Horizontal scroll bar under  footer in kendo grid?

 


 

Please anyone give me suggestion....

Renat
Top achievements
Rank 1
 asked on 08 Feb 2023
1 answer
126 views

Need sample source code in Angular 14 UI like below format Kendo Chart.

Present is in jQuery, but instead of jQuery using angular 14 UI support source code.

https://docs.telerik.com/kendo-ui/knowledge-base/display-time-on-value-axis#solution

Martin Bechev
Telerik team
 answered on 07 Feb 2023
1 answer
247 views

Hey everyone!

I'm currently trying to wrap a DateRange component inside of a custom component in my application so that I can add boilerplate configuration in a single place. Everything was going well until I tried to set the value from a parent component. When I attempt to set the value writeValue inside the component is called properly and sets the value HOWEVER the value is then immediately overwritten and a "ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: 'Thu Feb 02 2023 10:56:57 GMT-0600 (Central Standard Time)'. Current value: 'null'" error is written to the console. If I look at the stacktrace it is pointing to the start date input in the component template.

Is there something in the component lifecycle that could be causing this issue? I have verified that nothing else attempts to set the value of the component.

Thanks in advance for any help or insight.

component.html

<kendo-daterange>
  <kendo-floatinglabel text="{{label}}">
    <kendo-dateinput kendoDateRangeStartInput [min]="selectRange.startDate" [max]="selectRange.endDate" [(value)]="startDate" fillMode="outline"></kendo-dateinput>
  </kendo-floatinglabel>
  <kendo-floatinglabel text="">
    <kendo-dateinput kendoDateRangeEndInput [min]="selectRange.startDate" [max]="selectRange.endDate" [(value)]="endDate" fillMode="outline"></kendo-dateinput>
  </kendo-floatinglabel>
  <kendo-daterange-popup (close)="onClose()"></kendo-daterange-popup>
</kendo-daterange>

component.ts


import {Component, forwardRef, Input, OnInit, ViewEncapsulation} from '@angular/core';
import { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';
import { TICKET_DATE_FORMAT, DATE_CONSTS } from 'core/constants';
import { DateRange } from 'core/models/date-range';

@Component({
    selector: 'lm-date-range',
    templateUrl: './lm-date-range.component.html',
    styleUrls: ['./lm-date-range.component.scss'],
    providers: [
        {
          provide: NG_VALUE_ACCESSOR,
          multi:true,
          useExisting: LMDateRangeComponent
        }
      ]
  })
  
export class LMDateRangeComponent implements ControlValueAccessor, OnInit {

    protected selectRange: DateRange = {startDate: DATE_CONSTS.MIN_DATE, endDate: DATE_CONSTS.MAX_DATE};
    protected dateFormat = TICKET_DATE_FORMAT;

    onChange = (value: DateRange) => {};
    onTouched = () => {};
    touched = false;
    disabled = false;

    @Input() label: string;
    startDate: Date = null;
    endDate: Date = null;
    value: DateRange = null;

    constructor() {
        var x = 5;
    }

    ngOnInit(): void {
        var x = 5;
    }

    writeValue(selected: DateRange) {
        this.onChange(selected);
        if (selected) {
            this.value = {
                startDate: typeof selected.startDate === 'string' ? new Date(selected.startDate) : selected.startDate,
                endDate: typeof selected.endDate === 'string' ? new Date(selected.endDate) : selected.endDate,
            };    
            this.startDate = this.value.startDate;
            this.endDate = this.value.endDate;
        }
        else {
            this.value = null;
            this.startDate = null;
            this.endDate = null;
        }
    }

    registerOnChange(onChange: any) {
        this.onChange = onChange;
    }

    registerOnTouched(onTouched: any) {
        this.onTouched = onTouched;
    }

    markAsTouched() {
        if (!this.touched) {
            this.onTouched();
            this.touched = true;
        }
    }

    setDisabledState(disabled: boolean) {
        this.disabled = disabled;
    }

    onClose() {
        this.markAsTouched();
        this.value = { startDate: this.startDate, endDate: this.endDate };
        this.onChange(this.value);
    }
}

parentcomponent.html (just the component definition)

<lm-date-range formControlName="issueDateRange" label="Issue Date/Timeframe" class="range-input"></lm-date-range>

parentcomponent.ts

(the ticket variable is passed as an input to this component)

ngOnInit() { if (this.ticket) { this.f.issueDateRange.setValue({startDate: this.ticket.startDate, endDate: this.ticket.endDate}); } else { this.f.issueDateRange.setValue({startDate: newDate(), endDate: newDate()}) } }

Joe
Top achievements
Rank 2
Iron
Iron
 answered on 06 Feb 2023
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?