On Duration bar I am showing some Label based on user selection .
In some cases the length of duration bar become small and it does not accommodate all the label selected by user .
So is there a way by which we can wrap up the label text or some how display all label irrespective of the length of the duration bar .
Any help would be appreciated .
protected void DayPilotScheduler1_BeforeEventRender(object sender, BeforeEventRenderEventArgs e)
{
int complete = (int)e.DataItem["PercentageComplete"]; // assumes you have "complete" property in the data source item
e.PercentComplete = complete;
// here is the code where we are setting label for the duration bar .In some cases the length of duration bar become small and it does not accommodate the entire text .
e.Html = (string)e.DataItem["Labels"];
e.FontColor = "Black";
e.DurationBarColor = "LightGreen";
string status = e.DataItem["RequestStatus"].ToString();
e.BackgroundColor = e.DataItem["StatusColor"].ToString();
// e.ToolTip = (string)e.DataItem["Labels"];
//Set Event border based on different RequestType
e.BorderColor = e.DataItem["RequestType"].ToString() == "STC" ? "black" : e.DataItem["RequestType"].ToString() == "ISSUE" ? "Red" : "Green";
e.BubbleHtml = (string)e.DataItem["TooltipDurationBar"] ;
}