2
votes
Accepted
data-label not displaying with {grid_field:table}
The Grid field's :table modifier is actually just a single tag, not a tag pair.
{table:table cellspacing="0" cellpadding="0" class="my-table"}
That variable by itself will output the entire table ...
1
vote
check if specific field in all rows is empty in a grid field
Not 100% sure I understand what you are trying to do - in your example code you appear to want to display all entries in the grid field, and have a heading included if there are downloadable documents ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
table × 16add-on-development × 6
control-panel × 4
module × 3
ee2 × 2
matrix × 2
grid × 2
database × 2
pagination × 2
jquery × 2
html × 2
add-on × 1
conditionals × 1
wygwam × 1
php × 1
url × 1
fieldtype × 1
query × 1
mysql × 1
html-entities × 1
.html × 1
encryption × 1
table-class × 1