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

Events everywhere!

Hey Clay, I have a data bound grid with the filterbar attached. On this screen I have buttons which open up other windows in an MDI app. When the user comes back to the screen with the data bound grid I refresh the data from the forms activated event. When I select the (custom) option out of any of the filterbar columns the following occurs... If I get out of this screen by selecting Ok or Cancel the window pops up again and again (i.e. one to many times). It seems by repopulating the grid it is firing the "open custom filter screen" again. Let me know if you would like sample code or more info. Cheers, JF

2 Replies

JF Jim Frapper November 17, 2003 04:05 PM

I would also be satisfied if I could just remove the (custom) option from the filterbar. Cheers, JF


AD Administrator Syncfusion Team November 17, 2003 04:26 PM

You can remove the (custom) from the drop lists with this code.
for(int col = 0; col < this.gridDataBoundGrid1.Model.ColCount; col++)
{
	DataTable dt = this.gridDataBoundGrid1[1,col].DataSource as DataTable;
	if(dt != null)
	{
		dt.Rows.RemoveAt(1);
	}
}

Loader.
Live Chat Icon For mobile
Up arrow icon