sifuhall 0 Posted July 28, 2014 Report Share Posted July 28, 2014 Is it possible to dynamically add and remove items from the UI panel? For example, I would like to query a database on load and display records from the database in the UI Panel and I do not know how many records will be returned. Something like this: Active Start Date End Date LinkYes 07/28/2014 07/29/2014 http://www.xxx.xxxYes 07/28/2014 08/05/2014 http://www.yyy.yyyNo 08/15/2014 08/20/2014 http://www.zzz.zzz Quote Link to post Share on other sites
UBotDev 276 Posted July 28, 2014 Report Share Posted July 28, 2014 Yes, you can use one variable which holds the whole HTML table, and you simply display it in UI with code: <div variable="#table" fillwith="innerhtml"></div> Whenever you want to to change the rows, you need to programatically create the HTML table and update variable #table to display it. 1 Quote Link to post Share on other sites
kev123 132 Posted July 28, 2014 Report Share Posted July 28, 2014 also with some basic html you can add sorts etc by running defines 1 Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.