Author Topic: menu icon problem  (Read 1730 times)

takao.sohara

  • Newbie
  • *
  • Posts: 5
    • View Profile
menu icon problem
« on: May 22, 2020, 10:54:33 am »
Param query version is using 6.2.4.

When displaying / hiding a column with the menu icon, if the column name contains an html tag, the html tag will appear with it.
Is there a workaround?

Thanks

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: menu icon problem
« Reply #1 on: May 22, 2020, 01:43:10 pm »
Its solution is to use gridOptions, also discussed here.

https://paramquery.com/forum/index.php?topic=3469.msg12769#msg12769

Code: [Select]
menuUI:{
gridOptions:{
columnTemplate:{dataType:'html'}
}
},

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: menu icon problem
« Reply #2 on: May 26, 2020, 03:26:06 pm »
For more information on menuUI.gridOptions usage, please refer to the API

https://paramquery.com/pro/api#option-menuUI