#1 2020-10-12 18:13:37

RSnewuser
Member
Registered: 2020-04-28

Grid Report: Add, Remove and duplicate menu options

Hi everybody,

I hope you can help me, I'm working with GRID Report and I want to remove from the report Menu the Menu options "Add", "Remove" and "Duplicate", I just want my report to be able to update current data from Database Table.

I don´t want user to be able to INSERT or DELETE rows on my referenced table.

So, Is there any configuration that can help me to prevent users to insert or delete new rows in a GRID Report?

Offline

#2 2020-11-05 10:12:38

eduardo
Administrator
Registered: 2016-11-01
Website

Re: Grid Report: Add, Remove and duplicate menu options

Hi RSnewuser,

this is currently not possible, but I raised ticket RS-4425 for this. I will update here when I have more information.

Regards,
Eduardo

Offline

#3 2020-11-27 15:39:30

eduardo
Administrator
Registered: 2016-11-01
Website

Re: Grid Report: Add, Remove and duplicate menu options

Hi RSnewuser,

this will be available in the next ReportServer version (3.4.0):

You can turn off adding/duplicating/removing records per grid report. Default is true (allowed). This can be done via the following settings:

def adapter = definition.getAdapter()
adapter.setCanAddRecords(false)
adapter.setCanDuplicateRecords(false)
adapter.setCanRemoveRecords(false)

analogously to the setSortable() and setFilterable() settings.

Regards,
Eduardo

Offline

Board footer

Powered by FluxBB