LimeReport Forum

General Category | Основное => Discussion | Обсуждение => Topic started by: ann on September 21, 2017, 12:06:54 pm

Title: Unable to hide template column
Post by: ann 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  ;) ;)
Title: Re: Unable to hide template column
Post by: Arin Alex 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)
Title: Re: Unable to hide template column
Post by: ann 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
Title: Re: Unable to hide template column
Post by: Arin Alex on September 24, 2017, 03:32:44 pm
You are welcome :)