I want to delete a column with both sample images and code. what should I do?

Answered
attapol asked on September 12, 2018

I want to delete a column with both sample images and code. what should I do?

Attachments:
picture.png

5 answers

Public
Tanya Gryshko Tanya Gryshko Flexmonster September 12, 2018

Hello, Attapol,
Thank you for writing to us!
Could you please provide more explanations on what are you trying to achieve?
Do you want to hide the columns already displayed on the grid?
By the way, the latest version of Flexmonster can be downloaded here.
Regards,
Tanya

Public
attapol September 13, 2018

Thanks for the reply. When I write the code like in the picture. It has 2 columns of no value. How do I get value in column 3 up?

Attachments:
picture.png

Public
Tanya Gryshko Tanya Gryshko Flexmonster September 13, 2018

Hello, Attapol,
Thank you for a quick reply.
Try setting Options -> Do not show grand totals via the Toolbar. It should do the trick.
Hope it helps.
Regards,
Tanya

Public
attapol September 14, 2018

Thanks!
Is there a default code?

Public
Iryna Kulchytska Iryna Kulchytska Flexmonster September 14, 2018

Hi Attapol,
 
Yes, this can be done from code.
Click Save button in the Toolbar after setting Options -> Do not show grand totals. The report will be saved locally. In the report you will find the grid option showGrandTotals set to "off". Use showGrandTotals option to define this from code.
 
Regards,
Iryna

Please login or Register to Submit Answer