Hi,
I wrote this code :
but when I call
the timeslot doesn't resize dynamically.
how can I refresh the scheduler ?
thanks.
I wrote this code :
function
SplitterLoaded(splitter, arg) {
var
scheduler = $find(
"<%= RadScheduler1.ClientID %>"
);
var
hauteur = window.innerHeight - 71;
var
slots = (((scheduler.get_dayViewSettings().dayEndTime / 1000) / 60) - ((scheduler.get_dayViewSettings().dayStartTime / 1000) / 60)) / 15
scheduler.set_rowHeight(
""
+ Math.round(hauteur / slots) +
"px"
);
var
pane = splitter.getPaneById(
'RadPane1'
);
var
height = pane.getContentElement().scrollHeight;
splitter.set_height(splitter.get_height() - pane.get_height() + height);
pane.set_height(height);
}
but when I call
scheduler.set_rowHeight(
""
+ Math.round(hauteur / slots) +
"px"
);
the timeslot doesn't resize dynamically.
how can I refresh the scheduler ?
thanks.