Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic: Unable to hide template column  (Read 3063 times)

ann

  • Newbie
  • *
  • Posts: 16
    • View Profile
Unable to hide template column
« on: September 21, 2017, 12:06:54 pm »
Hi guys. I had meet a problem where I am unable to delete/hide template column from coding. I am trying to generate report from Qt Creator. However, sometime I wanted to remove some column from the report.

As for example, i wanted to hide/delete the whole Employee ID column. Is there any possibility to do so by using coding?
Advance thanks to all the reply  ;) ;)

Arin Alex

  • Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 1005
    • View Profile
Re: Unable to hide template column
« Reply #1 on: September 21, 2017, 11:58:26 pm »
Hi!
I hope it will help you :)
IMPORTANT: limereport's version must be 1.4.43 or upper
https://youtu.be/06mVL4xlETw
P.S. The "showCustomerID" variable is accessible from code via report.dataManager.setReportVariable('showCustomerID',true)
« Last Edit: September 22, 2017, 03:20:00 am by Arin Alex »

ann

  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: Unable to hide template column
« Reply #2 on: September 24, 2017, 02:49:47 pm »
Wow!! Thank you and that is what I need !! appreciate your help. Thank you very much !! :D :D

Arin Alex

  • Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 1005
    • View Profile
Re: Unable to hide template column
« Reply #3 on: September 24, 2017, 03:32:44 pm »
You are welcome :)