htmltocsv ΒΆ
To Install This Plugin Run THis Command into your terminal
"composer require aayushmhu/yii2-htmltocsv dev-master"
To Use This Extension You Just Need to Write This
For Example:
use \aayushmhu\htmltocsv\ExportButton;
echo ExportButton::widget([
'tableid'=>'table_id',
'filename'=>'Hello',
'options' => [
'id'=>\aayushmhu\htmltocsv\ExportButton::DEFAULT_BUTTON,
'class'=>'btn btn-primary',
],
]);
# | First | Last | Handle |
---|---|---|---|
1 | Mark | Otto | @mdo |
2 | Jacob | Thornton | @fat |
3 | Larry | the Bird |
If you have any questions, please ask in the forum instead.
Signup or Login in order to comment.