how can I hide edit icon on a grid ?
ART
how can I hide edit icon on a grid ?
ART
Re: EDIT ICON
if you are refering to the pencil icon which opens the form, then maybe this will work:
Event:
onApplicationInit OR
onScriptInit
sc_apl_conf("Application", "lig_edit", "off");
Re: EDIT ICON
it doesn’t work…
what is : “Application” ?
and “lig_edit” ?
Arthur
Re: EDIT ICON
Application is the name of the application…
“lig_edit on/off Qualifies (on) or unqualifies (off) the record edition. (the pencil icon)”
i have used it before and it worked, i am not sure if i have used it in the grid iteslf in which you want to turn the pencil icon off…
what i did was checked for a certain usergroup in the login and there used this macro to disable the edit icon for a grid…
search lig_edit in the ScriptCase macros section of the webhelp and you’ll find it there…
Re: EDIT ICON
ishwor,
I understand well what you mention, but as I can do to display or not “edit pencil” according to a defined condition, eg in the event “onrecord”
thanks!
Daniel, From Argentina
Re: EDIT ICON
there is no macro like: lig_edit
at least I do not see it in HELP
Arthur
@aklisiewicz
It is not a macro by itself. It is a property for a macro ie. sc_apl_conf(“Application”, “Property”, “Value”)
for example: could use like : sc_apl_conf(“grid_users”, “lig_edit”, “off”);
you can find it under the macro sc_apl_conf --> Property for Grid applications
Hi !
@ Daniel
I think you cannot use it (the macro: sc_apl_conf) in the onRecord event.
The macro, according to the documentation can be used on the following events in the grid app:
onApplicationInit
onClick
onScriptInit