jQWidgets Forums

jQuery UI Widgets Forums Grid Dropdown Grid Filter Window Alignment

This topic contains 2 replies, has 2 voices, and was last updated by  shimmoril 8 years, 7 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • Dropdown Grid Filter Window Alignment #89805

    shimmoril
    Participant

    We’ve got an issue when using dropdown grids on iframe fancyboxes, where if the grid is on the left or right sides of the fancybox, when the user tries to bring up the filter window, it’s cut off, because it’s too big for the window:
    dropdown grid on iframe fancybox

    We noticed that the filter windows in regular grids seem to drop down and right, whereas this one is dropping down and left. We tried to check our version against your demos, but filtering isn’t enabled for the dropdown grid example.

    Can you please provide any information as to why the dropdown grid filter appears to be positioned differently from a standard grid, and/or instructions on how to set the position of the grid filter window.

    Dropdown Grid Filter Window Alignment #89868

    Christopher
    Participant

    Hi shimmoril,

    The expanding direction of the filter menu depends on the available size in the jqxGrid. If there is enough space from the right border of the jqxGrid for the menu to appear, the it will open to the right, if there isn’t it will open to the left. It’s not possible to customize that. However what you can do is customize the filter menu itself. So it appears smaller and fits in the iframe of the FancyBox.
    Here is a demo on how to custimze the filter menu:
    http://www.jqwidgets.com/jquery-widgets-demo/demos/jqxgrid/filtering-menu-custom-widgets.htm?light

    Best Regards,
    Christopher

    jQWidgets Team
    http://www.jqwidgets.com

    Dropdown Grid Filter Window Alignment #89884

    shimmoril
    Participant

    Thanks for the response Christopher. I don’t think that customizing the filter menu will help us any, since we need to keep all the potential options. We’ll investigate further on our end.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.