Hi,
we want to set allowEdit option of several fields depending on the data for each row in a datagrid (AX2012).
We do this in active method of the datasource like this:
SalesLine_ds.object(fieldNum(SalesLine, Status)).allowEdit(salesline.Category != 0);
When setting the cursor on single row it’s working fine, but on opening the form initially or after refreshing the whole datasource (F5) only one allowedit-status has been applied to all rows of the grid.
Any ideas of how ta achieve right status of each row?
Thanks!
Daniel