Please see screenshot.
I am trying to make a custom search filter (tree-view like) that whatever items I’ve selected in the search filter will be displayed in my power table. - power table in the screenshot is not the results I want to display. I’ve just binded its data to template’s data so that I can see what’s going on in the dataset as I update the template repeater.
I’ve managed to create that using template repeater. Repeater composed of checkbox, label, button (with down arrow) and binded their corresponding properties to the custom properties in the repeater. Which I’ve displayed by creating dataset in the template repeater (data columns corresponds to the custom properties).
I’ve managed to access the checkbox component in the template repeater (by using the .getLoadedTemplates() function) that if I click on the parent checkbox, will check its child items- this is by manipulating the dataset and posting it back to data property of the template.
The problem I am facing now is I can’t access the buttonDown component that if I click on it, I should be able to manipulate the dataset removing its relative child items.
Is there a way to access this buttons separately?
I am new to Ignition as well as in this scripting so I’ve come up with manipulating dataset. Please let me know your thoughts on this.
Thank you very much.