Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 73760

setting allow edit for each row in a datagrid

$
0
0

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


Viewing all articles
Browse latest Browse all 73760

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>