Today i want to know how to transfer data after click on dynamic card view, my data in image below
Use when any cardview clicked
Use one logic ie. if is dynamic component
Get the id of the clicked cardview
Using this id get the value of the lable or using thus id as index get the row value from the global data and pass it to the startValue
Understand?
Not really, isn’t there any means? like using tinydb?
Go to the blocks part, scroll down to last(left side blocks section). You will see Any components, just click it where you will see all the native components under any cardview,
Yes, i know that, but after click, get all data in that click component
I hope you want only that clicked card view details right? It is nothing but row data from the gsheet if i am correct
Do you want to pass only image details or total cardview of clicked one?
i want pass the details on click component to another screen where it will display all item review
Yeah this is what i mentioned you earlier. During dc creation you pass values from the gsheet using for number from to by block. So here, luckily you set the main cardview id as int without using any alphabet.
Now if you click any component, you can get the id of the clicked component (cardview), this will act as index. Using this index use select kist item list (get global data) index (above clicked id) and use this list item to pass it to next screen. (If you have used any alphabet in dynamic cardview then your should replace it with empty text)
Understand now?
Still far, just let me try and see its result
But you didnt get the clicked component id,
Pls follow this pattern
When anycardview clicked
If is dynamic component get component
Initi local variable index to get dynamic component Get id component (get component)
Open another screen (screen name)
startValue (select list item list get global data index get index (localvariable))
okay thanks