Hello all,

I have some problems with the table inserted in the Dialog. The first column in my table is checkbox. I created the button "choose all" which marks all checkboxes in the first column as "true", but only once! When I click a second time - nothing happens.

Function example:

this.PUSH_BUTTON_REL_ALLASPECTS_pressed = function() {
    var relObjects = this.dialog.getDialogElement("TABLE_REL_OBJECTS").getItems();
        
    for (var row = 0; row < relObjects.length; row++) {
        relObjects[row][0] = "true";
    }
        
    this.dialog.getDialogElement("TABLE_REL_OBJECTS").setItems(relObjects);       
}

 

Thanks!

Tags: ARIS Report ARIS Report Scripting ARIS script javascript script