Is there a way to customize the header buttons based on the current view?
When on week view I want the buttons to not be displayed, but in month view I want to see them
Hi @sassa2000,
No, this isn't supported. You cannot hide or show buttons.
Hi @sassa2000,
As Korchev stated there is no built-in option to do this, but you can try hiding the buttons with CSS:
<style>
.rz-scheduler-nav:has(+ .rz-week-view) {
.rz-scheduler-nav-prev-next { /* Hides the prev, next, and today buttons */
visibility: hidden;
}
}
</style>
1 Like
And is there a way to change the text showed in rz-scheduler-nav-title?
Check the source. You can do that only if you inherit from the views and provide your own implementation of the Title property.
1 Like
And how can I do it? Can you give me a "tutorial"?
Simple C# class inheritance should work.
public class MyWeekView : RadzenWeekView
{
public override string Title
{
get => "Look how simple this is";
}
}