Hi,
In a custom form which has a grid contain a table, how to make the button on top of it to be enabled or disabled based on the record highlighted on the grid ?
So for example, if it is SalesTable, the button Delete is disabled when Sales status is invoiced, but will be enable if it is not invoiced yet.
And where to put the code ? Is it on the datasource's method and may I know which method I should overwrite ? I tried to look at the SalesTable for example, but my knowledge is limited on this.
Can I ask for a guide ?
Thanks,