Angular scheduler grid and event height customization

Hello Team

Can similar example use in angular resource timeline view ?

https://www.syncfusion.com/forums/142575/scheduler-change-row-height


Can we reduce 

  1. scheduler grid height 
  2. and event details

to have similar as in attached screenshot? 





6 Replies

VD Vinitha Devi Murugan Syncfusion Team October 4, 2021 08:46 AM UTC

Hi Mohit, 
 
Greetings from Syncfusion Support. 
 
We have prepared a sample for your requirement ‘reduce schedule grid height’ by reducing the height of the scheduler and ‘reduce appointment height’ using below CSS which can be viewed from the following link.  
 
 
let scheduleOptions: ScheduleModel = {  
  width: "100%",  
  height: "250px",  
 
 
/*  Reduce Appointment Height */ 
.e-schedule .e-timeline-view .e-appointment.e-schedule .e-timeline-month-view .e-appointment { 
  height:19px !important; 
} 
 
 
Please try the above solution and let us know whether it helps you. 
 
Regards, 
Vinitha 



RM Raj Maheshwari October 5, 2021 06:59 AM UTC

Thank you Vinitha

I will try this, I am positive this will work

Apologies, my first query was not clear - my query was to see if we can reduce the height of row to around 32px [ please refer the left arrow in the screenshot above ] .

Please let me know how we can achieve this.


Thanks again for your assistance :)

Mohit





RM Raj Maheshwari October 5, 2021 07:06 AM UTC

Here is the screenshot

red arrows shows the reduced height of resource timeline which i am trying to achive

green arrow shows current height of the resource timeline



Thanks

Mohit



VD Vinitha Devi Murugan Syncfusion Team October 7, 2021 05:26 AM UTC

Hi Mohit, 
 
Thanks for your update. 
 
We have validated your reported  
 
We have achieved your requirement “reduce the height of row to around 32px" by making use of below CSS. You can refer the sample from the following link. 
 
 
.e-schedule .e-timeline-view .e-resource-cells.e-schedule .e-timeline-month-view .e-resource-cells { 
  height32px !important; 
} 
.e-schedule .e-timeline-view .e-resource-group-cells { 
  height32px !important; 
} 
.e-schedule .e-timeline-view .e-work-cells.e-schedule .e-timeline-month-view .e-work-cells { 
  height32px !important; 
} 
/*  Reduce Appointment Height */ 
.e-schedule .e-timeline-view .e-appointment.e-schedule .e-timeline-month-view .e-appointment { 
  height:10px !important; 
} 
 
Output: 
 
 
Note: The minimum height of resource cells and work cells are dynamically assigned based on scheduler height internally. We could not reduce the height of the resource cells and work cells below the minimum-height. So we suggest you to set minimum height to the Scheduler to achieve above requirement. 
 
Kindly try with the above sample and get back to us if you need any further assistance. 
 
Regards, 
Vinitha 



RM Raj Maheshwari October 10, 2021 05:14 AM UTC

Hi Vinitha

Thank you for your help and support of this great syncfusion product


What is the recommended / right way to optimally reduce the gird row to minimal height while having the event subject is visible.

We would like our users to see most of the resources on the screen while reviewing the availability of them.

Our competitor is having compact and optimal timeline view (provided in first thread in screenshot).

I wonder if this can be achieved in right way on syncfusion scheduler without compromising existing functionality.

to remove +more spacing we tried using

[rowAutoHeight]="true"



see the excess space in screenshot below, which we are wondering how we can save by reducing and optimizing the height.


Thank you so much for helping us.

We really appreciate the time and assistance provided for this.


Thanks

Mohit















VD Vinitha Devi Murugan Syncfusion Team October 11, 2021 06:23 AM UTC

Hi Mohit,
Thanks for your update.
We have validated your reported
We have achieved your requirement “What is the recommended / right way to optimally reduce the gird row to minimal height while having the event subject is visible." by making use of rowAutoHeight and ignoreWhitespace properties of our scheduler. You can refer the sample from the following link.
Output:
We suggest you to refer below UG to disable bottom space of appointment by occupying entire cell height.
Kindly try with the above sample and get back to us if you need any further assistance.
Regards,
Vinitha



Loader.
Up arrow icon