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

MultiColumnTreeView with FilterBar

Thread ID:

Created:

Updated:

Platform:

Replies:

95960 Aug 12,2010 10:12 AM UTC Aug 18,2010 10:34 AM UTC WinForms 1
loading
Tags: Tools
Jozsef Fa
Asked On August 12, 2010 10:12 AM UTC

How can I set a filter bar below the column header row (or in the column header itself) in a MultiColumnTreeView?

It should look like the FilterBar in the GridGroupingControl.


Lingaraj S [Syncfusion]
Replied On August 18, 2010 10:34 AM UTC

Hi Jozsef,

Thank you for your interest in Syncfusion products.

By design, MultiColumnTreeView does not allow to add a Filter row and filter in Column. Please try using ComboBox in Application to show the filter behavior in MutiColumnTreeView as shown below.

public Form1()
{
InitializeComponent();
this.multiColumnTreeView1.Paint += new PaintEventHandler(multiColumnTreeView1_Paint);
}
void multiColumnTreeView1_Paint(object sender, PaintEventArgs e)
{
Rectangle rec = this.multiColumnTreeView1.Columns[0].Bounds;
this.comboBoxAdv1.Size = rec.Size;
Point loc = this.multiColumnTreeView1.Location;
this.comboBoxAdv1.Location = new Point(loc.X + rec.Location.X, loc.Y + rec.Location.Y);
this.comboBoxAdv1.Refresh();
}


Refer the sample from following link.

http://www.syncfusion.com/uploads/redirect.aspx?&team=support&file=MutiColumnTree-507330947.zip

Please let me know if you have any queries.

Regards,
Lingaraj S.

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

;