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

Author Topic: How to disable "Edit Mode" button in Report Preview  (Read 2509 times)

Mucip

  • Jr. Member
  • **
  • Posts: 51
    • View Profile
How to disable "Edit Mode" button in Report Preview
« on: February 28, 2020, 11:45:39 pm »
Hi,
There is "Edit Mode" button on the Report Preview window.
I want to disable it because user should not edit the report.

I need to prevent user ability to edit report.

Regards,
Mucip:)
« Last Edit: February 29, 2020, 12:21:19 am by Mucip »

Arin Alex

  • Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 1005
    • View Profile
Re: How to disable "Edit Mode" button in Report Preview
« Reply #1 on: February 29, 2020, 09:39:47 am »
Hi!
Just use ReportEngine::setResultEditable(bool value)  :)

Mucip

  • Jr. Member
  • **
  • Posts: 51
    • View Profile
Re: How to disable "Edit Mode" button in Report Preview
« Reply #2 on: February 29, 2020, 11:44:22 am »
Hi,
Work like a charm. Thanks.  ;)

Regards,
Mucip:)