Hi All,
I am trying to search a list say country list by country name, the list is inside a web block. I am passing the input parameter to the block from parent screen to search the list and written the necessary logic.
The problem is when I paginate to lets say page number 2 and try to search for a country displayed in other page lets say page 1 , then it displays no records. But whereas if we do this logic in a common screen without block it works well.
Can anyone tell me how I can resolve this with block.
Thanks
Shivangi
Hii shivangi,
Please share the oml and add screen shots if possible.
Thanks,
Adeeb Alam
Hi @Adeeb Alam ,
Added the sample oml.
Hii Shivangi,
On OnParameterChange you just need to change the startIndex value to 0.
Because we you are on another page the start index changes and only reflect the record which will start from that index.
I am sharing the oml please have a look and let me know if it works.
Regards,