Hi, i have a editable grid and i need set readonly a field when a condition is evaluated, then i have this code for that.
if ({lvd_cdgo_mdio} == [lvd_cdgo_mdio]) {
sc_field_readonly({pad_vlorcncldo}, ‘on’);
} else {
sc_field_readonly({pad_vlorcncldo}, ‘off’);
}
that works fine. My problem is when the grid is opened and that retrieve some records and if i try edit one record cliking on icon edit, the validation is not fired.
What event is fired when edit icon is cliked?
How can i validate that?