Playmaker Forum

Playmaker Feedback => Action Requests => Topic started by: elusiven on September 19, 2017, 08:29:00 AM

Title: TablePro Asset
Post by: elusiven on September 19, 2017, 08:29:00 AM
Hi All

I made an action to generate table based on input from XML with Table Pro Asset

(You need this asset to use it)

https://forum.unity.com/threads/table-pro-when-your-data-isnt-a-game.347893/

You simply select the xml source, select go with Table component, supply the xpath for headers, rows and off you go.

The table works best when you input it in XML as a html table so a bit like this:

Code: [Select]
<table>
<tr>
  <th>Name</th>
  <th>Age</th>
</tr>
<tr>
  <td>Peter</td>
  <td>12</td>
</tr>
</table>

I've attached it to this post. Please make any suggestions on how can I improve it. Feel free to upload it to the eco
Title: Re: TablePro Asset
Post by: jeanfabre on September 20, 2017, 01:51:08 AM
Hi,

 Thanks for this, I'll add it to the custom addons for DataMaker.

Bye,

 Jean
Title: Re: TablePro Asset
Post by: elusiven on September 20, 2017, 07:52:41 AM
I've got a question Jean, the xml source appears to be not including the drop down gui, am I doing something wrong here?
Title: Re: TablePro Asset
Post by: jeanfabre on September 20, 2017, 10:59:12 PM
Hi,

 you need do build a custom inspector for your action, check out the other action custom inspector and just do the same.

 Bye,

 Jean
Title: Re: TablePro Asset
Post by: elusiven on September 21, 2017, 01:55:54 AM
Ah gotcha... Done, I re-uploaded as a folder now.