Hi,
I believe "OnClick" will be fired when touched element is released.
How about OnRowClick event of Table element?
Is that the same as OnClick?
On the guide it is written that "Occurs when the user touch/click a row."
When there's no vertical/horizontal scroll, you can put your finger on some row,move your finger to other row and lift it. In that case CurrentRowID doesn't seem to be retrieved. I would like to check the specification of OnRowClick for the first step.
Best Regards,
Megumi Sawada
[RPG]OnRowClick of Table element
Re: [RPG]OnRowClick of Table element
Hi Megumi,
OnRowClick event only occurs when you click an row in table. OnClick event won't be triggered when click an row.
When pressing and releasing finger inside a same row, this row is selected and its id will be set to CurrentRowID property. In your testing case, finger pressing and releasing are not inside a same row, in this situation, the OnRowClick event is still fired, but there is no row selected, so you can't get CurrentRowID in OnRowClick event.
We will make an improvement in next release to make sure OnRowClick event only occurs when finger pressing and releasing inside a same row.
Thanks
Jason
OnRowClick event only occurs when you click an row in table. OnClick event won't be triggered when click an row.
When pressing and releasing finger inside a same row, this row is selected and its id will be set to CurrentRowID property. In your testing case, finger pressing and releasing are not inside a same row, in this situation, the OnRowClick event is still fired, but there is no row selected, so you can't get CurrentRowID in OnRowClick event.
We will make an improvement in next release to make sure OnRowClick event only occurs when finger pressing and releasing inside a same row.
Thanks
Jason
-
MegumiSawada
- Posts: 268
- Joined: Tue Feb 19, 2013 5:18 pm
Re: [RPG]OnRowClick of Table element
Hi Jason,
Thank you for your clarification!
Then,I'll report this issue and send an enhancement request to support.
Best Regards,
Megumi Sawada
Thank you for your clarification!
Then,I'll report this issue and send an enhancement request to support.
Best Regards,
Megumi Sawada