How to get the previous and next record in the list?

when i click on previous button it should be decremented by one id, 

when i click on next button it should be incremented by one id,



Hello Ellakkiya,

You are not giving us much information about your interface, as this will have a huge impact on HOW to do that, including if it is a mobile or web application, but I'll assume the last.

Please, be more specific so we can help you find a solution for your question.

Cheers.

Hi Ellakkiya yes you need to provide more information but if I understand you well. You want to move through record one by one you can achieve this by using a List_navigation widget. 

First set the table record to 1.

Then make sure the lineCount in the list widget is the same as the table

This is how I would do it.

Ellakkiya Selvadurai wrote:

How to get the previous and next record in the list?

when i click on previous button it should be decremented by one id, 

when i click on next button it should be incremented by one id,



It's hard to help you.

Are you talking navigate a table list or just a list? 


if its navigate, you can use the post above.

otherwise, you can use logic and get the value you want,  "Test.TextList[Int]"


Best Regards.


Thankyou for all your replies,

Here I will explain the requirements

Here, Initially name will be visible.. when i click the previous icon, expression should fetch the previous data present in the DB and also only the relevant data should be displayed in the table..Likewise same logic should be processed for the next data.

How can I do this?

Regards,

Ellakkiya.S

Hi Ellakkiya

In your image, you are showing a LIST. Is this list ASSOCIATED with the name? Like, Name comes from an entity and the list comes from another entity with a Foreign Key? Or your list is just a single line with data associated with the record showed by name?

Cheers.

You can use Carousel and webBlocks for example.