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.

Staked Header row Height

Thread ID:

Created:

Updated:

Platform:

Replies:

76118 Aug 22,2008 10:05 AM Aug 27,2008 09:18 AM Windows Forms 3
loading
Tags: Grouping
Ankit Thakkar
Asked On August 22, 2008 10:05 AM

How to set the height of Stacked Header which I have created for my GGC ?

Thanks.


Sri Rajan [Syncfusion]
Replied On August 25, 2008 08:05 AM

Hi Ankit,

Thank you for your interest in Syncfusion products.

You need to handle QueryRowHeight event, then set the property e.Size as Value

and e.Handled as true to Change the Row Height for Stacked header. Here is the

sample code which implemements this task.

void TableModel_QueryRowHeight(object sender, GridRowColSizeEventArgs e)
{
if (e.Index == 2) //Row Index.
{
e.Size = 50;
e.Handled = true;
}
}


Please let me know if this helps.

Best Regards,
Srirajan.


Ankit Thakkar
Replied On August 26, 2008 07:00 AM

Thanks for your Reply.
I have got one more query. If I need to set the size for only one stacked header in the stacked header row, then What needs to be done ?
Thanks in Advance

>Hi Ankit,

Thank you for your interest in Syncfusion products.

You need to handle QueryRowHeight event, then set the property e.Size as Value

and e.Handled as true to Change the Row Height for Stacked header. Here is the

sample code which implemements this task.

void TableModel_QueryRowHeight(object sender, GridRowColSizeEventArgs e)
{
if (e.Index == 2) //Row Index.
{
e.Size = 50;
e.Handled = true;
}
}


Please let me know if this helps.

Best Regards,
Srirajan.




Sri Rajan [Syncfusion]
Replied On August 27, 2008 09:18 AM

Hi Ankit,

Thank you for your interest in Syncfusion products.

Here is code to adjust the size of only one header in Stacked Header Row.

void TableModel_QueryColWidth(object sender, GridRowColSizeEventArgs e)
{
if (e.Index == 2) //Row Index.
{
e.Size = 50;
e.Handled = true;
}
}


Please let me know if this helps.

Best Regards,
Srirajan.


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.

;