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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Horizontal scrollbar instead of automatic resizing

Thread ID:

Created:

Updated:

Platform:

Replies:

150705 Jan 16,2020 05:01 PM UTC Jan 20,2020 12:18 PM UTC React - EJ 2 3
loading
Tags: Schedule
Eugenio Barbarossa
Asked On January 16, 2020 05:01 PM UTC


In React schedule component, I just need to have fixed width (or min width) for columns in day view with multiple resources (with horizontal scrollbar instead of automatic resizing). It works well in week view but not in day view.

You can find an example attached.

I've a lot of resources (eg. 30) and i need to have fixed space for every resource.

Thanks

Attachment: Scheduleproblem_a2c0abaf.zip

Hareesh Balasubramanian [Syncfusion]
Replied On January 17, 2020 12:46 PM UTC

Hi Eugenio, 

Greetings from Syncfusion Support. 

By default the width of the cells will be reduced based on the number of resources adding but when the cell width reaches it minimum value (i.e., 36px) then the horizontal scroller will set to the scheduler irrespective of the views(Day, Week, WorkWeek) and for the same we have prepared a sample, which can be viewed from the following link, 

Kindly try the above sample, if you have any concerns please revert us back for further assistance. 
 
Regards, 
Hareesh 


Eugenio Barbarossa
Replied On January 17, 2020 05:45 PM UTC

Ok! It's all clear.
But is any way to set minimum value greater than 36px?
Css? Config of component?

Thanks!

Hareesh Balasubramanian [Syncfusion]
Replied On January 20, 2020 12:18 PM UTC

Hi Eugenio, 
 
Thanks for your update. 
 
we have achieved your requirement through CSS itself. Please refer the below code snippet and sample link, 
 
code snippet: 
.e-schedule .e-vertical-view .e-date-header-wrap table col, .e-schedule .e-vertical-view .e-content-wrap table col { 
    width: 50px; 
} 
 
And for further reference, kindly view the below sample link, 
 
Regards, 
Hareesh 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon