default event bar text

Hi,

Is it possible to set up a default event bar text?

For example, using http://scheduler-net.com/docs/hotel-room-booking-tutorial.html

instead of the dates where there are no rooms booked being empty, the cell would describe a default value, for example “Available”

Thanks

or a way to create a default event that shows on everyday that has no other event

Hello,
there is no built-in way, although probably you can mark available times dynamically using client side api.
Please check this methods:
docs.dhtmlx.com/scheduler/api__s … event.html
docs.dhtmlx.com/scheduler/limits.html
docs.dhtmlx.com/scheduler/api__s … espan.html
docs.dhtmlx.com/scheduler/api__s … espan.html

The code itself will look similar to following

[code]// each time before date changes
scheduler.attachEvent(“onBeforeViewChange”, function(old_mode,old_date,mode,date){
// remove previously added markers
scheduler.deleteMarkedTimespan();

// get timerange to be displayed
var from = scheduler.date[mode + "_start"](new Date(date));
var to = scheduler.date.add(from, 1, mode);

// get visible events
var displayEvents = scheduler.getEvent(from, to);

//... use scheduler.addMarkedTimespan to show markers on available times
//...

return true;

});[/code]