Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

PAI event in table control while scrolling vertical

Former Member
0 Likes
1,500

Hi All,

I want to stop PAI event trigger while doing vertical scrolling in table control.Currently it's triggering PAI event.

Could you please help in this?

Regards,

Mohit

4 REPLIES 4
Read only

Puneet_Gupta
Contributor
0 Likes
1,016

Is the Scrolling down event trigger causing an issue? If yes there are other ways to handle it rather than disabling the event itself.

Let me know the issue that you are facing.

- Puneet

Read only

Former Member
0 Likes
1,016

Dear Mohit,

In table control when you scroll a table vertically presentation server needs to call application server to fetch the next record and display in the table while in case of horizontal scroll there is no need to call application server.

Since the vertical scroll needs to call application server, the PAI event will be trigerred naturally.

Please give the exact scenario so that we can check if a work-around is possible.

Thanks,

Manikandan JN.

Read only

0 Likes
1,016

Hi,

I made some of column editable in table control.When user put some value in those column the those value should be validate in PAI even while user press enter.But my issue is that even on vertical scrolling PAI event is getting triggered and column values are validating.I know this can be resolved by creating a button on screen and in PAI event of that button function code we can do the validation.But customer wants those values should be validate only on press of enter button.

Regards,

Mohit

Read only

0 Likes
1,016

Hi

You can't prevent the PAI is not triggered while scrolling the table control: you need to consider the PAI can check only the records shown in the screen. I mean if your internal table has 100 records, but table control can show 20 records, only these records will be checked.

So if the validation was triggered by ENTER only the records loaded in the screen (while pressing ENTER) would be validated.

Anyway you can give an functionl code to ENTER in order to skip the validation if the OK-CODE is equal to space.

Max