I have an instance list that's showing 15 instances per page. The list has several columns, say: Invoice Date, Invoice Number, and Invoice Amount.
User wants to have an ability to input an invoice number in a filter, and the list should automatically shows the page that has that invoice number.
How to achieve this?
Thanks in advance for all your help.
Regards,
Taufik
How to position to a certain page in an instance list?
-
alphabeta13
- Posts: 21
- Joined: Tue Jan 14, 2020 12:18 am
Re: How to position to a certain page in an instance list?
An "instance list" means you are using the VLF (Visual LANSA Framework) I think?
What platform are you programming for? Windows or Web?
If Web, are you using VLF-ONE or classic WAM based VLF-WEB ?
What platform are you programming for? Windows or Web?
If Web, are you using VLF-ONE or classic WAM based VLF-WEB ?
-
alphabeta13
- Posts: 21
- Joined: Tue Jan 14, 2020 12:18 am
Re: How to position to a certain page in an instance list?
Hi Mark,
Thanks for responding.
I'm using VLF-ONE.
Thanks for responding.
I'm using VLF-ONE.
Re: How to position to a certain page in an instance list?
Have you tried suggesting the automatic instance list filtering capbility - you don't have to code anything and it will search on all the instance list columns?
Re: How to position to a certain page in an instance list?
Otherwise you could try using the VerticalScrollTo method of the low level instance list visualization.
See this for how to reference the low level instance list visualization (i.e. the #PRIM_LIST object) - https://docs.lansa.com/14/en/lansa048/i ... 8_7070.htm
See this for using the standard VL VerticalScrollTo method - https://docs.lansa.com/14/en/lansa016/p ... rollto.htm
You'd need to use something like #avListManager.avVisualList.VerticalScrollTo Item(#SomeListItem) Scrollposition(Top)
See this for how to reference the low level instance list visualization (i.e. the #PRIM_LIST object) - https://docs.lansa.com/14/en/lansa048/i ... 8_7070.htm
See this for using the standard VL VerticalScrollTo method - https://docs.lansa.com/14/en/lansa016/p ... rollto.htm
You'd need to use something like #avListManager.avVisualList.VerticalScrollTo Item(#SomeListItem) Scrollposition(Top)
-
alphabeta13
- Posts: 21
- Joined: Tue Jan 14, 2020 12:18 am
Re: How to position to a certain page in an instance list?
Hi Mark,
I will be looking into your suggestions; haven't had enough LANSA experience & knowledge yet.
Thanks!
I will be looking into your suggestions; haven't had enough LANSA experience & knowledge yet.
Thanks!