I have a menu page on my app.
The menu page consists of buttons and their only function is to navigate to various pages on the app.
I want the buttons to be generated dynamically from a database. So if the user of the app has permission to visit a page, the button will be visible.
I have used lists to generate dynamic content from a database but I'm unsure on the best way to do this for buttons. I've read a bit about grids, but I cant seem to find any documentation about how you can do this dynamically.
Can you point me to some documentation or tutorial, or give me a a snippet of code to try and work this out for myself?
Thanks in advance