ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: Rimokas on September 24, 2021, 07:01:44 pm

Title: Hearder menu - class 'pq-header-menu'
Post by: Rimokas on September 24, 2021, 07:01:44 pm
Hi,

exist possibility to move call of show/hide dialog in outside button ? When not to show menuicon in headers, then I can't to call show/hide of columns dialog ...

Thanks ...
Title: Re: Hearder menu - class 'pq-header-menu'
Post by: paramvir on September 24, 2021, 10:55:35 pm
Sorry question not clear. Can you possibly rephrase it?
Title: Re: Hearder menu - class 'pq-header-menu'
Post by: Rimokas on September 25, 2021, 11:14:35 am
Hi,

Now columns show/hide panel is visible through column header menu
Code: [Select]
menuIcon: true,
            menuUI:{
                tabs: ['hideCols']
            },

But if to disable "menuIcon: false,", then I can't to use columns show/hide ...
Let say that I have outside button, there I can to call this column show/hide dialog. Not in the grid toolbar, but with outside of the grid ...

Of course I can play with context menu - hiding from them is easy. But if to show ... So maybe exist possibility to call this dialog from outside button or from contextmenu ?

Thanks ...
Title: Re: Hearder menu - class 'pq-header-menu'
Post by: Rimokas on September 26, 2021, 12:23:30 am
Forget it,

I did own overlay dialog with show/hde columns ... It works fine ...
Thanks ... :)