• Shirisha Pyarasani
    March 14, 2020 at 7:59 pm #5717

    Hi There,

    I have a requirement where on adding a new row to the table, the  boolean ‘Yes/NO’ radio button group (NVP)  in the table  should be pre-populated(based on a service output).  I have tried several ways i.e. by binding and through UI. In both the ways the selection is moving to the latest added row.

    Tried the following



    On load of the radio button





    _this.jciAffliate = function (me){
    console.log(“inside affiliate”)
    var index=me.ui.getIndex();
    console.log(‘index’+ index);
    //me.setItem(index,’Yes’, ‘Yes’);


    With all the above cases  the selection is moved to the latest added roe.

    Request you suggest a solution  for the above problem.





    SPARK Support
    March 16, 2020 at 10:15 am #5721

    Hi Shirisha,

    If you have several Radio Buttons displayed within a Table control, say Yes and No for each Table row, the Radio Buttons most likely consider themselves to be all part of the same Radio Button Group.  Try setting the Radio Button Group on load using a variable for the Group Name such as “RBGroup” + me.ui.getIndex().  This way, the Group Name should be configured to make each row it’s own group.


    Stephen P.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

Start typing and press Enter to search