ZEN Tablepane double click issue
Hello To all my fellow Cache Developers,
How the new year is finding everyone well. The purpose of this post is to ask everyone a question about Cache tablepane dblclick functionality that does not appear to be working like I thought it would. Here is my dilemma: I have a fairly simple tablepane that displays several columns of data (just strings and dates). I setup the tablepane property dblclick to call a client method, so I can take an action based on the row that the user double-clicked on. So that table property is set to this dblclick="zenPage.resolveQATicket();" and within the resolveQATicket client method I try to retrieve the selected row index, so I can do some actions with it. The problem is that when I try to get the selectedIndex value it is always coming back as -1 even though there is rows of data listed in the table. If I do a single-click first and then a double-click it seems to work. But that is not reasonable as most users will just quickly double-click a row to have an action performed. Any thoughts/ideas/feedback about why the double-click does not work (meaning does not allow me to get the selectedIndex value)? Looking forward to hearing everyone's comments.
Best Regards and Happy Coding! Go Team!