Author Topic: Show/Hide column functonality  (Read 3261 times)

Jignesh

  • Pro Enterprise
  • Newbie
  • *
  • Posts: 46
    • View Profile
Show/Hide column functonality
« on: November 21, 2019, 05:24:16 pm »
Hi,

How can I  change column title name 7 : "New Column" and ( 8: , 9: ) hide in the dropdown

I have attached a screenshot for that.

Thank you,
Jignesh

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: Show/Hide column functonality
« Reply #1 on: November 22, 2019, 11:24:54 am »
Quote
How can I  change column title name 7 : "New Column" and ( 8: , 9: ) hide in the dropdown

Column title can be renamed via header context menu as in this demo:

https://paramquery.com/pro/demos/context_menu

Columns can be hidden in dropdown menu via column.menuInHide option

https://paramquery.com/pro/api#option-column-menuInHide

Jignesh

  • Pro Enterprise
  • Newbie
  • *
  • Posts: 46
    • View Profile
Re: Show/Hide column functonality
« Reply #2 on: November 22, 2019, 02:41:27 pm »
Thank you Paramvir,

It is very fine. Can I set default collapse childs  in show/hide Title.

I have attached a screenshot. I will have set default like Image 2.

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: Show/Hide column functonality
« Reply #3 on: November 25, 2019, 11:21:38 am »
Yes, please check the option column.menuInClose

https://paramquery.com/pro/api#option-column-menuInClose

Jignesh

  • Pro Enterprise
  • Newbie
  • *
  • Posts: 46
    • View Profile
Re: Show/Hide column functonality
« Reply #4 on: November 25, 2019, 12:25:23 pm »
Thank you Paramvir