ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: queensgambit9 on February 11, 2020, 07:07:32 pm

Title: Visibility of toolbar items
Post by: queensgambit9 on February 11, 2020, 07:07:32 pm
When sharing toolbar between tabs...would it be possible not to display certain items in certain grids?
Title: Re: Visibility of toolbar items
Post by: paramvir on February 12, 2020, 09:49:54 am
Following can be added to undesired items in order to hide them

Code: [Select]
style:'display:none;',
Title: Re: Visibility of toolbar items
Post by: queensgambit9 on February 12, 2020, 12:47:05 pm
Hmm...but I want one tab to have all items and on other remove certain item. Toolbar is shared, doesn't that affect all grids?
Title: Re: Visibility of toolbar items
Post by: paramvir on February 12, 2020, 01:02:10 pm
Yes, Sorry that's right.

You can make a deep copy of the common toolbar items and then add extra items for toolbar having more items.

Anyway any arrays and objects are not supposed to be directly shared between different grids without deep copy.