Web Designer: Prevent from modifying values on tab Properties

Posted by: sonnguyentruong87 on 20 December 2019, 4:24 am EST

    • Post Options:
    • Link

    Posted 20 December 2019, 4:24 am EST

    Hi,

    I would like to prevent my user from being able to modify report properties on tab Properties.

    How should I set in JS Report Design control options ? .

    Thank you.

  • Posted 20 December 2019, 4:36 am EST

    Hello,

    You can set the visible property of the property tab to False. Please refer to the following link for more information:

    https://help.grapecity.com/activereports/webhelp/AR13/webframe.html#DesignerOptionsObject.html

    Thanks,

    Mohit

  • Posted 20 December 2019, 5:05 am EST

    Thank you Mohitg, I mean the tab is still visible but all the inputs and controls in it are grey out / disabled .

    Can we make it work like that ?

  • Posted 23 December 2019, 12:50 am EST

    Hello,

    Currently, It is not possible to disable the property tab. However, I have escalated this to our development team as an enhancement request(277882).

    Thanks,

    Mohit

  • Posted 23 December 2019, 1:58 am EST

    Hello,

    Could you please share the final purpose to disable the property tab. If you want, user not able to save the report then, you can hide the Save and SaveAs button.

    Thanks,

    Mohit

  • Posted 26 December 2019, 11:28 pm EST

    Hi Mohit,

    Actually I would like user not to be able to modify some of the attributes of some elements of the report.

  • Posted 27 December 2019, 12:59 am EST

    Hello,

    Could you please define which type of properties you don’t want the user to change. Also, you can try the following lines code:

    
     designerOptions.propertiesTab.mode = 'Basic';
            designerOptions.propertiesTab.defaultMode = 'Basic';
    
    

    Using this code, use can only see the basic properties of controls.

    Thanks,

    Mohit

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels