Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to control resource height in CalendarView.timelineWeek #885

Open
kbessemer opened this issue Dec 19, 2024 · 1 comment
Open

Ability to control resource height in CalendarView.timelineWeek #885

kbessemer opened this issue Dec 19, 2024 · 1 comment
Labels
calendar Calendar component waiting for customer Cannot make further progress until the customer responds

Comments

@kbessemer
Copy link

Use case

Using the Flutter widget SfCalendar in the view CalendarView.timelineWeek under resourceViewSettings I'd like the ability to control the height of my resources and not have this auto controlled by SfCalendar.

Proposal

Here is an illustration showing what I want to control the height of:
Screenshot 2024-12-19 at 12 59 58 PM

@VijayakumarMariappan VijayakumarMariappan added open Open and need to address calendar Calendar component labels Dec 24, 2024
@AswiniDileep
Copy link

Hi @kbessemer,

We have analyzed your requirement, and currently, there is no direct support for adjusting the height of the appointments based on its each resource height in SfCalendar. However, we have create a workaround sample and achieved the mentioned requirement by using the visibleResourceCount property. You can adjust the visibleResourceCount by setting its value higher than the number of added resources. While this may only partially address your requirements, it provides a practical alternative to achieve your desired outcome.

resourceViewSettings: ResourceViewSettings(
       visibleResourceCount: 8, // Set value higher than the number of resources
   ),

image

Also shared the user guide article regarding the visibleResourceCount of the SfCalendar for your reference.

Resource view in the Flutter Event Calendar widget | Syncfusion

Please note that this is the only suggested method to meet your requirements.

We will consider this request while implementing this Auto appointment height support in schedule view feature which will be available on any of our upcoming release. We will notify you here once the release has been rolled out, and we appreciate your patience in the meantime. You can also track the status of the bug using the feedback link provided below.

FR link: Providing an auto appointment height support for events in the schedule view of Flutter Calendar (SfCalendar) in Flutter | Feedback Portal.

Regards,
Aswini S.

GH_2219.zip

@LavanyaGowtham2021 LavanyaGowtham2021 added waiting for customer Cannot make further progress until the customer responds and removed open Open and need to address labels Dec 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
calendar Calendar component waiting for customer Cannot make further progress until the customer responds
Projects
None yet
Development

No branches or pull requests

4 participants