Hi dear scriptcase users:
When i want to hide a field in a grid, i use the next code in onScriptIni event and work ok:
sc_field_display(‘field_name’, ‘off’);
But, when i want use a var in place of direct string, the function dont work correctly (do nothing)
Ex:
$arr_privilegios = array(‘field_name’);
foreach($arr_privilegios as $priv)
sc_field_display($priv, ‘off’);
This is a bug??
Thank all people and sorry about my primitive english.