src/Helper.php
public static function dynamicTable($sKey, array $aFields, array $aData = [])
    {
        return Factory::service('View')
            ->load(
                'admin/_components/dynamic-table',
                [
                    'sKey'    => $sKey,
                    'aFields' => $aFields,
                    'aData'   => $aData,
                ],
                true
            );
    }
public static function dynamicTable($sKey, array $aFields, array $aData = [])
    {
        return Factory::service('View')
            ->load(
                'admin/_components/dynamic-table',
                [
                    'sKey'    => $sKey,
                    'aFields' => $aFields,
                    'aData'   => $aData,
                ],
                true
            );
    }
Generates a dynamic table

@param string $sKey    The key to give items in the table
@param array  $aFields The fields to render
@param array  $aData   Data to populate the table with

@return string
@throws \Nails\Common\Exception\FactoryException