05-15-2018 04:59
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

05-15-2018 04:59
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
So I think innerHTML or any such functions do not work (off google). Are there any solutions to adding (for example) buttons to a list of buttons programatically ?

05-15-2018 05:58
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

05-15-2018 05:58
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
I am not sure I understand the question. Do you want to create a button dynamically?
innerHTML is not working like this, if you want innerHTML use document.getElementById('something').text

05-16-2018 07:14
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

05-16-2018 07:14
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
There is currently no way to add elements programmatically.
05-16-2018 10:57
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


05-16-2018 10:57
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
If it's a list of buttons, you might be able to make it work with the Virtual Tile List.
It's built from an array, so you could add to the array, then tell it to redraw.
Some examples here https://community.fitbit.com/t5/SDK-Development/Example-for-VirtualTileList/m-p/2677410

