yenkumar

Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
    Replies
  • in reply to: how to assoicate parent checkox to subgrid checkbox #92019
    yenkumar
    Participant

    tony said:

    Hello,

    If you know the id's of both grids you can attach a onclick event to every check box and perform the needed actions

    Regards

    Tony


    Hi Tony,

    in reply to: how to assoicate parent checkox to subgrid checkbox #91768
    yenkumar
    Participant

    tony said:

    Hello,

    How do you create the checkbox? – manually using the formatter or you just set multiselect to true?

    Regards

    Tony


    Hi Tony,

    I created the checkbox using java. Below is the code.

    No, i didn't use formatter or multiselect. Please let me know if there is better approach to what i am using.

    checkbox.append(

    “<input type=\"checkbox\" ").append(“id=\”purchaseOrder[“).append(index).append(“]_[“).append(count).append(“]\””).append(” “

    );

    checkbox.append(

    “name=\”selectedOrderValues\””).append(” “).append(“value=\””).append(element.getPurchaseOrder()).append(“\””).append(” “

    );

    checkbox.append(

    “onclick=\”javascript:clickParentEvent('”).append(index).append(“','”).append(itemElementSize).append(“')”).append(“\””

    );

    checkbox.append(

    “/>”);

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

Stay connected with us in your favorite flavor!