I'm adding a new property to DayPilotScheduler, called Layout. It has three possible values:
1. LayoutEnum.Auto (default)
Corresponds to the behavior introduced in 5.0
- for IE6 it renders table-based layout
- for all other browsers it renders div-based layout
2. LayoutEnum.DivBased
Always renders the div-based layout.
3. LayoutEnum.TableBased
Always renders the table-based layout (layout used in 4.9 and previous versions).
Now you can apply your own rules for choosing the layout. Example:
protected void Page_Load(object sender, EventArgs e)
{
if (Request.UserAgent.IndexOf("MSIE 7") != -1 ||
Request.UserAgent.IndexOf("MSIE 6") != -1) {
DayPilotScheduler1.Layout = LayoutEnum.TableBased;
}
else {
DayPilotScheduler1.Layout = LayoutEnum.DivBased;
}
}
This update will be released as DayPilot Pro 5.0 SP2.