How to have the same height for SfScheduler resources

Goodmorning,

it is possible to keep the same height for the resources. up to 4 resources I can keep the same height but going to 5 the height changes for all resources? First image is height for 4 resources, the second image for more than 4 resources.

Image_6525_1750948901054

Image_9363_1750948886302

Thanks. Best regards.

Roberto


3 Replies

SR Sophie Raymond June 27, 2025 02:02 AM UTC

Yes, by default the SfScheduler component automatically adjusts the height of the resource rows based on the number of resources being displayed. This is why you're seeing consistent height with up to 4 resources, but a change when adding more than 4.

To maintain a consistent row height regardless of the number of resources, you can try setting a fixed height manually using the rowAutoHeight and resourceHeaderTemplate Connections Game properties along with custom CSS.



RB Roberto Becchetti June 27, 2025 06:25 AM UTC

Goodmorning,

I'm using .net MAUI, this is part of the code:

<scheduler:SfScheduler.ResourceView>
<scheduler:SchedulerResourceView
    Resources="{Binding SchedulerResources,Source={RelativeSource AncestorType={Type local:ProjectsProgressViewModel}}}"
                            MinimumRowHeight="100">
                            <scheduler:SchedulerResourceView.Mapping>
                                <scheduler:SchedulerResourceMapping Id="Id" Background="Background" Foreground="Foreground"/>

                            </scheduler:SchedulerResourceView.Mapping>

                        </scheduler:SchedulerResourceView>

                    </scheduler:SfScheduler.ResourceView>

I'm not able to find  rowAutoHeightor how to implement  resourceHeaderTemplate.
Could you show me a simple example.

Thanks. Best regards.


Roberto



AJ Arul Jenith Berkmans Syncfusion Team June 27, 2025 10:47 AM UTC

Hi Roberto Becchet,

 

Currently, there is no support for setting the same height for all resources. You can set the minimum height for all rows using the RowMinHeight property. This helps to prevent the row height from decreasing, but if there are more appointment in the resource, the resource height will auto adjust.

 

For ResourceHeaderTemplate, you can refer to the document and sample code at the links below:

 

Document: Resource View in MAUI Scheduler Control | Syncfusion®

Sample link: maui-demos/MAUI/Scheduler/SampleBrowser.Maui.Scheduler/Samples/Scheduler/ResourceView/View/ResourceView.xaml at master · syncfusion/maui-demos

 

We already created the feature request and added it to our feature list. You can track the progress by using link below.

 

  1. Feedback for Resource height: Customizable Resource Height in Timeline Views in .NET MAUI | Feedback Portal

 

  1. Feedback for Support to add visible resource count in timeline view resource view in .NET MAUI | Feedback Portal

 

We prioritize features for each release based on demand. While we don't have immediate plans to implement this due to current commitments, the feature will be considered for any one of our upcoming releases.

 

We encourage you to cast your vote for this feature, and if you have any additional suggestions or requirements, feel free to add them as a comment on the feedback portal.

 

Thank you for your understanding.

 

Best regards,

Arul Jenith B.


Loader.
Up arrow icon