Telerik Forums
Kendo UI for Angular Forum
1 answer
93 views

Can someone please give an explanation?

Say there's an event with start: new Date("2019/6/3 02:00 AM"), and end: new Date("2013/6/3 03:00 AM"). It is displayed with following scheduler configuration.

date: new Date("2019/6/3"),
startTime: new Date("2019/6/3 00:00"),
endTime: new Date("2019/6/3 06:00")

 

Whereas, with the following configuration will render the scheduler, but not the event.

date: new Date("2019/6/3"),
startTime: new Date("2019/6/2 23:00"),
endTime: new Date("2019/6/3 06:00")

 

This problem occurs with views which require time, i.e. day, week views etc.

P.S. I am using v2017.2.504 of kendo.all.min.js file.

 

Veselin Tsvetanov
Telerik team
 answered on 20 Jun 2019
3 answers
865 views

Hi,

We are implementing filtering in Kendo Angular treeview.For that we are considering two options

Option 1:

Filtering based on below link

https://qqf7hb.run.stackblitz.io/

This example works fine. But it includes all child nodes/items of parent even child items does not contain filtered text. (only parent node contains filtered text and non of the child nodes/items. But still all the child nodes/items of parent are shown)

Do you have any sample to show filtering like below example

https://demos.telerik.com/kendo-ui/treeview/filter-treeview-in-dialog

Option 2:

Don't filter any nodes/items. While typing in filtering textbox, expand all parent and child nodes of treeview and display all nodes/items which has filtered text with different style (preferably with yellow background like attached image) and scroll the treeview to the first occurance of node/item which has filtered text (As there will be lot of items in the treeview with scroll bar) 

It would be great if you can provide any sample for this approach

Thanks,

Rajesh

Dimiter Topalov
Telerik team
 answered on 19 Jun 2019
3 answers
1.1K+ views

Hello,

currently the dialog component and service only allows the action buttons to be stretched, that's not what we want, because it doesn't match our application's style. We would like to have the buttons in "normal" layout, like it is possible with the Kendo UI jQuery counterpart. I already logged a feature request in the Feedback Portal, but until it may be implemented sometime we need a workaround.

Is there any other solution than overriding all relevant CSS styles?

Regards,
Holger

Dimiter Madjarov
Telerik team
 answered on 18 Jun 2019
2 answers
120 views

I've combined 2 of your demos, the grouped data one, and the filter directive one. Filtering doesn't work in this example. Is it possible to make the filtering work with the directive? (I assume I can fall back on manually filtering the data).

https://stackblitz.com/edit/angular-evmvba

Dimiter Topalov
Telerik team
 answered on 17 Jun 2019
2 answers
437 views

I'm trying to apply Grouping (https://www.telerik.com/kendo-angular-ui/components/dropdowns/multiselect/grouping/) to a multiselect where the data is bound using the async pipe. (https://www.telerik.com/kendo-angular-ui/components/dropdowns/multiselect/data-binding/#toc-async-pipe).

I'm getting a bit stuck, is what I'm trying to do possible? any chance of modifying the example for the async pipe to group the data?

Alex
Top achievements
Rank 1
 answered on 14 Jun 2019
1 answer
171 views

In the paging section( https://www.telerik.com/kendo-angular-ui/components/grid/paging/) there is a directive to further control the pager content of the grid. What I was trying to accomplish is having a HTML number input to allow users to specify their desired page size. However my 'onchange' event is never firing for the input control.

In the Pager Template stack blitz example there is a slider that is able to bind to events.  Is there some limitation on what controls that can be used with the directive?

Event for onchange

setPageSize(value: any ) {
    console.log('value => ' + JSON.stringify(value));
    }

 

HTML for Pager template

01.<ng-template kendoPagerTemplate let-totalPages="totalPages" let-currentPage="currentPage">
02.            <kendo-pager-prev-buttons></kendo-pager-prev-buttons>
03.            <kendo-slider
04.                [showButtons]="false"
05.                [tickPlacement]="'none'"
06.                [max]="totalPages"
07.                [min]="1"
08.                (valueChange)="sliderChange($event)"
09.                [value]="currentPage">
10.            </kendo-slider>
11.            <kendo-pager-info></kendo-pager-info>
12.            <kendo-pager-next-buttons></kendo-pager-next-buttons>
13.            <input type="number" value= {{pageSize}} (onchange)="setPageSize($event)" >
14.</ng-template>
Martin Bechev
Telerik team
 answered on 14 Jun 2019
1 answer
1.1K+ views

Hi,

  Its been nearly a year now that I am waiting for Kendo to provide a auto-fit/ resize option. Tried something like

public onDataStateChange(): void {
    this.fitColumns();
  }
  private fitColumns(): void {
      this.ngZone.onStable.asObservable().pipe(take(1)).subscribe(() => {
        this.grid.autoFitColumns();
      });
  }

 

But this doesn't seem to work also. Our business requirement needs us to do the auto resize since we create our grids on the fly. 

Any solutions yet?

 

 

Svet
Telerik team
 answered on 13 Jun 2019
2 answers
341 views

Hi,

I am using a DialogService to open it under some conditions from another kendo-dialog. I need to set the background color of the title to a different color than the one from the kendo style sheet. How do I achieve this?

 

I know we can set he width, height and actions  programmatically , but I don;t see any properties to set the background color. 

 

Regards,

Jyothi

Svet
Telerik team
 answered on 12 Jun 2019
2 answers
1.9K+ views
Is it possible to capture the scroll event on kendo grid when I scroll the grid?  I only see scrollBottom event. 
Tony
Top achievements
Rank 1
 answered on 11 Jun 2019
1 answer
963 views

I have a kendo chart whose type is either donut or pie. There is a need to handle right click (click type : context menu). Upon right click, a menu is displayed. 

However there seems to be only tap/click method available when the chart type is donut or pie.

(for column chart, the click event is handled for both 'tap' and 'context-menu').

 

  <kendo-chart (click)="onPlotAreaClick($event)">
        <kendo-chart-series>
            <kendo-chart-series-item #series type="donut" [data]="pieData" field="value" categoryField="category"></kendo-chart-series-item>
        </kendo-chart-series>
   </kendo-chart>

........................................................

onPlotAreaClick(event) {

    //not triggered for right click on pie chart

}

.........................................................

Can you please help ?

Hetali
Telerik team
 answered on 10 Jun 2019
Narrow your results
Selected tags
Tags
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
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?