We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

how to hide time slot row from timeline views

I have some reason time slots not required for the schedler. only schedule for day and multiple items in one day


1 Reply

RV Ravikumar Venkatesan Syncfusion Team January 30, 2023 08:28 AM UTC

Hi Aneesh,


Sample: https://stackblitz.com/edit/ej2-angular-schedule-disable-timescale?file=src%2Fapp.component.html


You can achieve your requirement by setting up the Schedule timeScale enable property to false as shown in the below code snippet.


[app.component.html]

<ejs-schedule #schedule height='650px' [(selectedDate)]="selectedDate" [eventSettings]="eventSettings" [timeScale]="timeScale">

</ejs-schedule>


[app.component.ts]

export class AppComponent {

  public selectedDateDate = new Date(2021010);

  public timeScaleTimeScaleModel = { enable: false };

}


Regards,

Ravikumar Venkatesan


Loader.
Live Chat Icon For mobile
Up arrow icon