Hello I have a requirement where I have List and I have written a click function on it, when I click the list, I am able to call the function.
Now here I am stuck, I wanted to call the click function on load once the List is populated and need to call click function on Id.
Example : listId is the id of the row in view:List
$$(‘my_List’).define(“data”, listload);
$$(‘my_List’).refresh();
$$(‘my_List’).on_click(listId);
Is there any possibility where I can call this click function on load.
UI :
{ id:“my_List”,view:“unitlist”,css:“ulist”,data:“listData”, select:true}, on:{onItemClick:“openMyPop”}