Author Topic: How hide maximize button  (Read 1177 times)

hyh888

  • Pro Enterprise
  • Full Member
  • *
  • Posts: 142
    • View Profile
How hide maximize button
« on: November 19, 2021, 08:28:22 am »
I hope to hide maximize and minimize button and put the title("shipping orders") before the "toggle filter fow" button to save space in interface,is it possible?

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: How hide maximize button
« Reply #1 on: November 19, 2021, 10:45:28 am »
Please set showTitle: false and collapsible: {on: false, toggle: false} in the grid options

and prepend following item to the toolbar.

Code: [Select]
{ type: '<span>Shipping orders</span>'},

hyh888

  • Pro Enterprise
  • Full Member
  • *
  • Posts: 142
    • View Profile
Re: How hide maximize button
« Reply #2 on: November 19, 2021, 11:02:27 am »
It works, thank you very much.

hyh888

  • Pro Enterprise
  • Full Member
  • *
  • Posts: 142
    • View Profile
Re: How hide maximize button
« Reply #3 on: November 29, 2021, 08:01:39 am »
Would you kindly set collapsible: {on: false, toggle: false} in the grid options as default? Usually, in business there is no need to set them true.

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: How hide maximize button
« Reply #4 on: November 29, 2021, 10:50:37 am »
Default options can be changed for all grid instances in this way:

https://paramquery.com/pro/tutorial#topic-defaults

hyh888

  • Pro Enterprise
  • Full Member
  • *
  • Posts: 142
    • View Profile
Re: How hide maximize button
« Reply #5 on: December 01, 2021, 08:23:16 am »
Thank you very much.