I think the answer is no, but I have to ask. Is there a way to disable a field in a grid, but not the entire column?
If an item is not a stock item, I want to disable a field in a grid, but just for that row.
I think the answer is no, but I have to ask. Is there a way to disable a field in a grid, but not the entire column?
If an item is not a stock item, I want to disable a field in a grid, but just for that row.
Hi,
I think you can do it by specifying the field that you want to enable/disable, if no field was filled then the whole row will be disabled/enabled.
PXUIFieldAttribute.SetEnabled<F>(cache, data, condition);
Hope this helps.
This is not a show-stopper for me, but my custom column can cause UI confusion if the line is a non-stock item. I think I will work around it, but I thought I’d see if anyone has found a way.
This is not a show-stopper for me, but my custom column can cause UI confusion if the line is a non-stock item. I think I will work around it, but I thought I’d see if anyone has found a way.
Is this an existing screen? If yes, you can modify the workflow as well, and at the same time add the code on the backend. There are times that the backend code is not working because the workflow dominates the entire UI states.
[PXUIEnabled(typeof(Where<SOLine.isStockItem, Equal<True>>))]
I added that code (with tweaks to fit my DAC) and it works great.
THANK YOU.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.