We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

setting custom row height in schedule control

Thread ID:

Created:

Updated:

Platform:

Replies:

93596 Mar 23,2010 09:31 AM Mar 29,2010 08:48 AM Windows Forms 2
loading
Tags: ScheduleControl
vik
Asked On March 23, 2010 09:31 AM

Hello,

We trying to see if we can utilize schedule control in our application,but could you please let us know how to set the height for individual cells [a day cell in the schedule] of the schedule or at least set the a row height in the schedule?

Regards,
Vikram

vik
Replied On March 23, 2010 09:33 AM

[this is specific for month mode.]

Rajadurai C [Syncfusion]
Replied On March 29, 2010 08:48 AM

Hi Vikram,

Thanks for your interest in Syncfusion Products.

It is not possible to set height for individual cells. But you can set the height of a specific row.

In Month mode, rowheight setting can be achieved by handling the QueryRowHeight event of the ScheduleGrid. Through the following code, the ScheduleGrid can be retrieved from the ScheduleControl and the respective event can be invoked.

ScheduleGrid grid = this.scheduleControl1.GetScheduleHost();
//Event Invoker
grid.QueryRowHeight += new Syncfusion.Windows.Forms.Grid.GridRowColSizeEventHandler(grid_QueryRowHeight);

//Method Invoked
void grid_QueryRowHeight(object sender, Syncfusion.Windows.Forms.Grid.GridRowColSizeEventArgs e)
{
if (e.Index == 3)
e.Size = 100;
}

Regards,
Rajadurai

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;