I have a query that generates this result in first image. I would like to display Candidate Name, Party, Result in separate responsive tables like shown in the second image with each table only showing records of one constituency. I know I can do this by generating separate queries for each constituency but I also know this can be done from this same result set. Hoping someone can show me the steps or guide me .
I expect @Teodor has already given you the best solution. However, another approach which can be useful sometimes, and which only requires a single query instead of multiple queries, is to use the ‘where’ formatter, something like: serverconnect.data.qry.where(constituency, constituency_id, "==")
Eg I had a page displaying a number of swiper components using the same data source (but with different categories). I couldn’t use a nested repeat because the swipers were in different places on the page - with different sections between some of them - so I used expressions like the one above for the various swiper data sources.
@Teodor following the nested queries tutorial this is the output I am getting. I am not sure why just one value is repeating through for each constituency instead of all the enteries. Please please guide me
I restarted the entire thing. Please see the screen shot attached. I’ve gotten to the part where I have to add the table rows containing the data from the query. In your case you added just a paragraph but in my case I want to add a table. So I right Click repeat2 and go to Generators – > Boostrap Table Generator and select Query2 as the expression my page freezes. Any Idea why?