I have an accordion view with 3 accordion items within the view. Each accordion item contains a datatable that I constructed using the webix framework. I would like to set up an onItemClick function for each of the datatables within the accordion view so that if the user clicks on a cell in the datatable, the page executes the code in the onItemClick function. How would I go about accessing the id attribute of each accordion item in the view so that I am able to accomplish this?
You need to attach onItemClick
to each datatatble. The following snippet shows two ways to do this: