This is current block
By using this we get data from spreadsheet to respective label, but now i need to diplay next and previous row data in label by click on button.
This is current block
Hi Sagar_Thosre,
I think there’s a problem with your blocks.
As soon as you receive the data from .GotSpreadsheetData (a list of lists), you’re iterating through the entire list while always using the same index to set the text (global_index is always 1), so you can remove it.
I would put this whole part inside a procedure.
When you receive the data, set main_list=data as you’ve already done and call selectIndex(1)

then hide the circular progress.
When you press the next button, do global_index = global_index + 1 and execute selectIndex(global_index), to see the previous element, use subtraction.
Of course, you’ll need to create exceptions to prevent selecting an index greater than or less than the size of main_list.