LimeReport Forum

General Category | Основное => Discussion | Обсуждение => Topic started by: Mucip on February 28, 2020, 11:45:39 PM

Title: How to disable "Edit Mode" button in Report Preview
Post by: Mucip 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:)
Title: Re: How to disable "Edit Mode" button in Report Preview
Post by: Arin Alex on February 29, 2020, 09:39:47 AM
Hi!
Just use ReportEngine::setResultEditable(bool value)  :)
Title: Re: How to disable "Edit Mode" button in Report Preview
Post by: Mucip on February 29, 2020, 11:44:22 AM
Hi,
Work like a charm. Thanks.  ;)

Regards,
Mucip:)