Grid Widget In Template

29 views
Skip to first unread message

Brady Hutmacher

unread,
May 24, 2025, 7:29:10 PMMay 24
to Xataface
I'm writing a template for a project and I need to output a grid control. How do I do that? So far I've only used $elements.x.html to output the field html but  the transient fields aren't available.

Thanks.

===

<table style="margin-bottom: 25px">
    <tr>
          <td style="width: 300px"><b>First</b><br></b>{$elements.deceased_name_first.html}</td>
          <td style="width:15px"></td>
          <td style="width: 300px"><b>Middle</b><br></b>{$elements.deceased_name_middle.html}</td>
          <td style="width:15px"></td>
          <td style="width: 300px"><b>Last</b><br></b>{$elements.deceased_name_last.html}</td>
    </tr>
</table>


Steve Hannah

unread,
May 24, 2025, 11:56:56 PMMay 24
to xata...@googlegroups.com
Have you considered using the grid widget?
http://xataface.com/wiki/grid

--
You received this message because you are subscribed to the Google Groups "Xataface" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xataface+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/xataface/a4193efe-d209-4246-ba56-e3f5fc464f97n%40googlegroups.com.


--
Steve Hannah
Web Lite Solutions Corp.

Brady Hutmacher

unread,
May 25, 2025, 11:42:11 AMMay 25
to Xataface
I'm trying to use the grid widget IN my template but I don't know how to output the html. I can use $element for the rest but I can't figure out how to reference a grid widget. Is that possible?

Steve Hannah

unread,
May 25, 2025, 12:53:11 PMMay 25
to xata...@googlegroups.com
It should be the same as any other widget.  `$element.html` should do it.

What happens when you do that?

Reply all
Reply to author
Forward
Message has been deleted
0 new messages