PHP code example of bluezed / yii2-float-thead
1. Go to this page and download the library: Download bluezed/yii2-float-thead library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
bluezed / yii2-float-thead example snippets
<table id="myTable">
<tr>
<th>Col1</th>
<th>Col2</th>
</tr>
<tr>
<td>Data1</td>
<td>Data2</td>
</tr>
</table>
\bluezed\floatThead\FloatThead::widget(
[
'tableId' => 'myTable',
'options' => [
'top'=>'50'
]
]
);
\bluezed\floatThead\FloatThead::widget(['registerOnly'=>true]);