Change Button Label

There are 3 buttons on mobile calendar by default - “List”, “Day” and “Month”.

I want to replace the “List” Button with my own text and function. I can do it this way:

$('div[button_id="list"]').html('Refresh');

$('div[button_id="list"]').css('width', '55px');

$('div[button_id="list"]').click(function(){ alert('do something'); })

But is there a better way to do this? I just don’t want my code stop working with a next update :slight_smile:

This approach also don’t work if I change view from ‘day’ to ‘month’ (for example).

You need to change a propety in locale property:

scheduler.locale.labels.list_tab = “Refresh”;

The following will change a size:

scheduler.xy.list_tab = 75;

You also wrote about changing function. Did you mean that list view should not open when the tab clicked? It is impossible as all tabs of segmented button open a view in multiview. And this behaviour can not be changed.
It is possible to remove the “List” tab and add the new button (similar like Today and Add).