Link | rp_grid |
Author | Randy Phillips |
Category | Output |
Version | 8.x |
License | Public Domain |
Posted | 24 Jan 2006 |
Updated | 07 Nov 2008 |
More by this author... |
This tag is useful for displaying database query results or arrays from left to right in a HTML table grid. Just populate an array from a record set, specify the number of cells needed in each table row and rp_grid does the rest.
[rp_grid: -cell_content=$my_array, -cell_count = 3, -border = 0, -width= 500, -cellpadding = 2, -cellspacing = 1, -tablestyle = 'mytablestyle', -cellstyle = 'mycellstyle', -encodenone]
Click the "Download" button below to retrieve a copy of this tag, including the complete documentation and sample usage shown on this page. Place the downloaded ".inc" file in your LassoStartup folder, restart Lasso, and you can begin using this tag immediately.
size % #cell_count; local:'empty_cells' = #cell_count - #mod; local:'output' = (string); // begin building output here #output = '
' + #str + ' | '; if:(loop_count) % #cell_count == 0; #output += '
'; /loop; #output += ' |
No comments
©LassoSoft Inc 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft