jQWidgets Forums

jQuery UI Widgets Forums Angular jqxgrid size of filter and sorting menu

Tagged: 

This topic contains 1 reply, has 2 voices, and was last updated by  Peter Stoev 7 years, 11 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author

  • pwenk
    Participant

    Hi

    i have trouble width the column menu in jqxgrid. I’m using angular 2. The width and also the height of the column menu is to small. I can increase the size of the menu windows with help of the columnmenuopening funktion, so the menu windows becomes bigger but the sort criteria and die filter keeps still to small. What can i do ?

    /* Settings fuer jqxGrid */

    GridSettings: jqwidgets.GridOptions = {
    width: 1280,
    height: 690,
    theme: this.PCC_Theme,
    source: this.source,
    sortable: true,
    filterable: true,
    filtermode: ‘excel’,
    altrows: true,
    columnsresize: true,
    columnsautoresize: true,
    autoshowfiltericon: true,
    selectionmode: ‘singlerow’,
    columnmenuopening: this.columnmenuopening
    };

    /**
    * Anpassen Menue Size
    *
    * @param menu
    * @param datafield
    * @param height
    * @returns {boolean}
    */
    columnmenuopening(menu: any, datafield: String, height: Number): boolean {
    //menu.height(600);
    menu.width(300);

    return true;
    }

    Best Regards

    Peter Wenk


    Peter Stoev
    Keymaster

    Hi Peter Wenk,

    Unfortunately, we do not have API for changing these parts of the Grid Menu. The event is suitable only for changing the menu’s size.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

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

You must be logged in to reply to this topic.