Disable Line level fields based on condition

We have the user event script serverWidget method to disable the entire column specifically.

But if we need to disable/change the visibility of a specific cell in a row and column of a line it is not possible to use the user event script.

Proposed Solution:

  1. Using DOM element in Script to disable the particular columns. But the risk is as PO has dynamic sublist in case if user changes the order of the row (like by inserting a new item row in between the existing one) or change the form and it changes the order of Quantity column, and with different browsers this method fails. And this is the only method left for disabling particular lines only. if it was to disable the entire row. it is feasible. but here the context is different.
    So we can have another method
  2. To restrict the change of quantity with a error message on committing line or something.

Leave a comment

Your email address will not be published. Required fields are marked *