Unble to display first(blank) row in an Editable Grid

Hi all,

When the task is launched the grid (screenshot attached) is displayed with not row fields to input the values. But I am able to add the row fields and input data manually (using Add a product link). I need to be able to show a blank row filed to input data at the launch of the task itself .(Code attached)

Kindly suggest

OriginalPostID-256047


Grid Code.txt

  Discussion posts and replies are publicly visible

Parents
  • @sushanthp Following are some of the ways to resolve:
    1. I believe you are making use of a form level validation. Did you try configuring the 'validateAfter' attribute as 'SUBMIT'?

    a!formLayout(
    validations: if(
    ,
    a!validationMessage(
    message: "Please enter atleast one product code",
    validateAfter: "SUBMIT"
    ),
    {}
    )
    )

    2. Prior to hitting the user input task, populate the product code cdt process variable(the one that will be passed to rule input of the user input task) with default values conditionally. That is, if the PV holds no values, populate the variable, else skip the assignment of values.
Reply
  • @sushanthp Following are some of the ways to resolve:
    1. I believe you are making use of a form level validation. Did you try configuring the 'validateAfter' attribute as 'SUBMIT'?

    a!formLayout(
    validations: if(
    ,
    a!validationMessage(
    message: "Please enter atleast one product code",
    validateAfter: "SUBMIT"
    ),
    {}
    )
    )

    2. Prior to hitting the user input task, populate the product code cdt process variable(the one that will be passed to rule input of the user input task) with default values conditionally. That is, if the PV holds no values, populate the variable, else skip the assignment of values.
Children
No Data