[RPG]OnRowClick of Table element

Please do not use to report errors- use your regional help desk.
Please mark posts as being for RPG or RDMLX (LANSA) developer.
To subscribe by email, display this forum, scroll to the end and select ‘Subscribe Forum’.
Post Reply
MegumiSawada
Posts: 268
Joined: Tue Feb 19, 2013 5:18 pm

[RPG]OnRowClick of Table element

Post by MegumiSawada »

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
jasonzhou
Posts: 130
Joined: Wed Jan 11, 2017 3:26 pm

Re: [RPG]OnRowClick of Table element

Post by jasonzhou »

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
MegumiSawada
Posts: 268
Joined: Tue Feb 19, 2013 5:18 pm

Re: [RPG]OnRowClick of Table element

Post by MegumiSawada »

Hi Jason,

Thank you for your clarification!

Then,I'll report this issue and send an enhancement request to support.

Best Regards,
Megumi Sawada
Post Reply