angular equivalent to majorTick and minorTickCount in scheduler

1 Answer 108 Views
Scheduler
ixen
Top achievements
Rank 1
Iron
Iron
Iron
ixen asked on 03 Sep 2021, 01:41 PM

Hi,

Currently i see if we rewrite AngularJS Kendo Application with Angular12

So i test yours Angular components

What is angular equvalent to JS

$scope.kScheduler.setOptions({
majorTick: majorTickValue,
minorTickCount: minorTickCountValue
})

 

Regards

1 Answer, 1 is accepted

Sort by
0
Martin Bechev
Telerik team
answered on 08 Sep 2021, 08:30 AM

Hi Ixen,

The equivalent to the majorTick and minorTickCount are slotDuration and slotDivision properties of the Day and Week view components:

      <kendo-scheduler-day-view [slotDivisions]="3" [slotDuration]="120">
      </kendo-scheduler-day-view>

Here is an example:

https://stackblitz.com/edit/angular-h27tm3?file=app/app.component.ts

I hope this helps.

Regards,
Martin
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
Scheduler
Asked by
ixen
Top achievements
Rank 1
Iron
Iron
Iron
Answers by
Martin Bechev
Telerik team
Share this question
or