Staked Header row Height

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

Thanks.


3 Replies

SR Sri Rajan Syncfusion Team August 25, 2008 12:05 PM UTC

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.



AT Ankit Thakkar August 26, 2008 11:00 AM UTC

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.





SR Sri Rajan Syncfusion Team August 27, 2008 01:18 PM UTC

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.


Loader.
Up arrow icon