in grid
add a button say “btn_my_button”
OnScriptInit as discribed in the manual, it does hide the built_in buttons but doesn’t hide the button that you create inside the application!!
I’m using this cose
if ({field}==1)
{
sc_btn_display("btn_my_button", 'off')
}
also tried sc_btn_display(“my_button”, ‘off’)
any idea how to hide a self-made button based on logged in user of field value in the grid or even in the form!?



