I currently have a custom save button which does a certain custom action to recreate the data from edited fields as a json object but I would like to end edit mode when I click that custom save button
Is there a way for a report to programmatically leave edit mode in and and editable report?
currently using latest version
Editable report programatically stop edit mode
-
- Posts: 25
- Joined: Fri Nov 10, 2017 9:48 pm
-
- Posts: 6245
- Joined: Tue Mar 20, 2018 5:34 am
Re: Editable report programatically stop edit mode
Hello,
You can use the following code:
Thank you.
You can use the following code:
Code: Select all
var viewer = new Stimulsoft.Viewer.StiViewer(viewerOptions, "StiViewer", false);
viewer.renderHtml("content");
//finish editable mode
viewer.jsObject.SetEditableMode(false);
-
- Posts: 25
- Joined: Fri Nov 10, 2017 9:48 pm
Re: Editable report programatically stop edit mode
Awesome thanks
-
- Posts: 6245
- Joined: Tue Mar 20, 2018 5:34 am
Re: Editable report programatically stop edit mode
Hello
We are always glad to help you!
Please let us know if you need any additional help.
Thank you.
We are always glad to help you!
Please let us know if you need any additional help.
Thank you.