Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
530
Control width of UltraGridFilterUIProvider
posted

I have a grid and I've dragged an UltraGridFilterUIProvider control onto my form to get the enhanced filtering capabilities.  When I click on the icon to show the filter my data is there but the control is too narrow and much of the content is clipped.  I have to manually resize the filter window each time.  I would like to set a default width via code but can't seem to find the right approach.  I've tried the following based on a couple of posts here:

private void collectionGrid_BeforeRowFilterDropDown(object sender, BeforeRowFilterDropDownEventArgs e)
{
e.ValueList.DropDownListWidth = 400;
}

Even if I can't do this in code I would like, at the very least, for the filter window to retain its size on subsequent uses once someone manually  changes it.