function getTableBody()
    {
        ob_start();

        ?>
        <tbody>
        <?php if ($this->totalCount >= 1) : ?>

            <?php foreach ($this->resultRows as $row) : ?>
                <tr data-id="<?php echo $row->{$this->tableId} ?>">
                    <?php foreach ($this->columns as $column_key => $column_options) : ?>
                        <td class="<?php echo $this->getColumnOption($column_key, self::COLUMN_OPTION_CLASSES) ?>">
                            <?php echo $this->getColumnStructure($row, $column_key); ?>
                        </td>
                    <?php endforeach; ?>
                </tr>
            <?php endforeach; ?>

        <?php else : ?>
            <tr class="no-items">
                <td colspan="<?php echo $this->getTotalColumns(); ?>"><?php echo $this->noResults; ?></td>
            </tr>
        <?php endif; ?>
        </tbody>

        <?php
        return ob_get_clean();
    }