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

Formatting

Hello,

Please let us know on how to add spacing between the columns, we added a room resource having around 50 rooms, is there a way to increase their width, also is it possible to just increase width of a particular column. We would also like to sort by time and not by room names and just display room names. Thanks.



3 Replies

BS Balasubramanian Sattanathan Syncfusion Team November 6, 2019 02:45 PM UTC

 
Thanks for your valuable patience. 

Query 1 :
 
We have achieved your requirement using below CSS. 

.e-schedule .e-vertical-view .e-header-row .e-resource-cells,
.e-schedule .e-vertical-view .e-header-row .e-header-cells,
.e-schedule .e-vertical-view .e-work-cells {
  width: 100px !important;
}

.e-schedule .e-vertical-view .e-date-header-wrap table col, .e-schedule .e-vertical-view .e-content-wrap table col {
  width: 100px !important;
}

Query 2:

We suspect that your's another query is grouping resources by date. So we have attached UG link below for your reference.


Kindly try the below sample and let us know if you need any further assistance on this.


Regards, 
Balasubramanian S



UA Umair Ahmed November 7, 2019 05:09 PM UTC

Thanks for your response, in the sample application that you provided

Please let us know how can we sort by the longest duration events / projects displaying first ? We did set the "byDate" option to true in the group settings on the sample app but nothing changed, please advise. 

Thanks


BS Balasubramanian Sattanathan Syncfusion Team November 9, 2019 03:51 AM UTC

Hi Umair Ahmed, 
 
Thanks for the update. 
 
Q1: how can we sort by the longest duration events / projects displaying first ? 
 
Still we couldn’t get your requirement clearly. We suspect that, your need is to be sort the resources by it’s events length. For example, If the resource having highest number of events it will be display first and lowest number of events having resource will be display last. There is no way to achieve this. 
 
Q2: We did set the "byDate" option to true in the group settings on the sample app but nothing changed, please advise.  
 
We have prepared samples with group by date and without group byDate like below. If you set group byDate as true, all the resource will be rendered under the each dates. 
 
Samples : 
 
Regards, 
Balasubramanian S 


Loader.
Up arrow icon