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.
Syncfusion Feedback

How can I fix the height of the filter bar (row height)?

Thread ID:

Created:

Updated:

Platform:

Replies:

117442 Oct 21,2014 09:02 AM UTC Oct 24,2014 10:55 AM UTC WinForms 3
loading
Tags: GridGroupingControl
Markus Malebime
Asked On October 21, 2014 09:02 AM UTC

Hello,

I am using Syncfusion GGC (Ver. 11.3040.0.30 assembly version) in custom project. If we resize the height of a data row the filter row (filter bar) resizes accordingly. But the filter bar row height should stay fixed. How can I archieve this?

Best Regards,
Markus


Neelakandan Kannan [Syncfusion]
Replied On October 21, 2014 10:54 AM UTC

Hi Markus,

 

Thank you for your interest in Syncfusion products.

 

If you want to fix the RowHeight for the FilterBar row when resizing the other rows, you can use QueryRowHeight event. The rowheight of filterbar row will be remained as given RowHeight.

 

Please refer the below code:

 

this.gridGroupingControl1.TableModel.QueryRowHeight += new GridRowColSizeEventHandler(TableModel_QueryRowHeight);

void TableModel_QueryRowHeight(object sender, GridRowColSizeEventArgs e)

{

if (e.Index == 2)

{

e.Size = 25;

e.Handled = true;

}

}

 

Please let me know if you have any concerns.

 

Regards,

Neelakandan


Markus Malebime
Replied On October 21, 2014 03:31 PM UTC

Hello Neelakandan,

thank You!

It works as expected.

Best Regards,
Markus

Anish George [Syncfusion]
Replied On October 24, 2014 10:55 AM UTC

Hi Markus,

We are glad  to let you know that your problem has been solved.

Please let us know if you need any further assistance.

Regards,
Anish.

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.

Warning Icon 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.Close Icon

;