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. Image for the cookie policy date

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

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


3 Replies

NK Neelakandan Kannan Syncfusion Team 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



MM Markus Malebime October 21, 2014 03:31 PM UTC

Hello Neelakandan,

thank You!

It works as expected.

Best Regards,
Markus


AG Anish George Syncfusion Team 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.

Loader.
Up arrow icon