2012 Jul 03 6:23 PM
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
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
2012 Jul 03 7:48 PM
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
2012 Jul 04 7:34 AM
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.
2012 Jul 04 9:26 PM
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
2012 Jul 04 10:26 PM
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