Dynamically add buttons to footer
By Maksym
22 Aug 2013 00:46
English
12 Replies
What is the proper way to dynamically add a button to footer?
Assuming I have 2 buttons:
<div data-role="button" data-inline="false" data-style="round">Ok</div>
<div data-role="button" data-inline="false" data-style="round">Cancel</div>
which are rendered and styled as 2 buttons in footer with the same width (180px in my case or half of the footer).
I want to add new button dynamically by some action
<div data-role="button" data-inline="false" data-style="round">Undo</div>
So that all 3 buttons will be with the same size, have the same style, etc.
Edited by: Brock Boland on 17 Mar, 2014 Reason: Paragraph tags added automatically from tizen_format_fix module.
You must log in to use this service. Log in now?
The tag you entered already exists.
Do you want to report this post as spam?
The post has been reported as spam.
cannot be empty.
Are you sure you want to cancel and return to the list?
The code has been copied to the clipboard.
Enter a title.
All Categories
General Support
Tizen .NET
Web Application Development
Native Application Development
SDK & IDE
--------
--------