When data is get then it appear as per tab selected, now if I select next or other tab then data in list view will get from respective tab, but it will not clear the current list, for this i used when Tab Selected , list view clear list and then get spreadsheet data from new tab, app crashes.
Help me to solve this issue or to get data and clear current listwhen i click on new Tab
Hi dear,
Could you show your relevant blocks?
when .tab item selected
use if then else condtion
when .Tab Item Selected
if the get tab = name of the tab
then clear specific list relevant to this tab
else if get tab = name of another tab
then clear list relevant to this name of the tab and so on...
If the app crashes, you should check, for example, whether you always receive a list from GotColumn, since you’re running a forEachItem afterwards, otherwise it will cause an error.
Or maybe ReadSpreadsheet can accept A:D without indices, e.g. A2:G20.
Have you checked that all the tabs have a value that isn’t null? Perhaps there’s a space left by mistake.
And one last thing, are you sure the problem is in these blocks? Try disabling ReadSpreadsheet and see if the issue persists.
At least we can isolate the problem.
Can anyone give example with Tab Layout and List view
I’d need to clearly understand what you’re trying to achieve.
After you download a column, you create a tab for each item, then for each tab you access, you download the data from a sheet with that name, right?
Where is the list located in your application, and what does it do?
