Hi I have a table widget in Polarion. If a button is clicked the query of the table should be changed and the widget updated. I tried to change the query in the html, but i was not able to refresh the widget after that:
<button id ="target">Test</button>
<script>
$( "#target" ).click(function() {
$(".queryClass").html('${esc.h}if(!${esc.d}pageContext.taskIds.equals("")) id:(${esc.d}pageContext.TaskList) AND NOT status: "closed" ${esc.h}else NOT*.* ${esc.h}end');
});
</script>
Is it possible to update the parameters of a widgt with a button click?