GravityView  1.19.4
The best, easiest way to display Gravity Forms entries on your website.
table-header.php
Go to the documentation of this file.
1 <?php
2 /**
3  * Display above the entries loop when using a table layout
4  *
5  * @package GravityView
6  * @subpackage GravityView/templates
7  *
8  * @global GravityView_View $this
9  */
10 ?>
11 <?php gravityview_before(); ?>
12 <div class="<?php gv_container_class('gv-table-container'); ?>">
13 <table class="gv-table-view">
14  <thead>
15  <?php gravityview_header(); ?>
16  <tr>
17  <?php
18 
19  // Make sure this wasn't overridden by search
20  $this->setTemplatePartSlug('table');
21 
22  $this->renderZone( 'columns', array(
23  'markup' => '<th id="{{ field_id }}" class="{{class}}" style="{{width:style}}">{{label}}</th>',
24  'hide_empty' => false, // Always show <th>
25  ));
26 
27  ?>
28  </tr>
29  </thead>
30 
gravityview_header()
Definition: class-api.php:1007
gravityview_before()
Definition: class-api.php:999