Jump to content
UBot Underground

Recommended Posts

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     Link

Yes         07/28/2014   07/29/2014   http://www.xxx.xxx

Yes         07/28/2014   08/05/2014   http://www.yyy.yyy

No           08/15/2014   08/20/2014   http://www.zzz.zzz

Link to post
Share on other sites

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.

  • Like 1
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...