Skip to content

Commit

Permalink
Adding page size pagination example
Browse files Browse the repository at this point in the history
  • Loading branch information
fedemotta committed Jun 8, 2015
1 parent 5504b5c commit ee0c70a
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,26 +55,27 @@ The TableTools plugin is also available. Specify the DOM and the tableTools sett
```php
...
'clientOptions' => [
"lengthMenu"=> [[20,-1], [20,Yii::t('app',"All")]],
"info"=>false,
"responsive"=>true,
"dom"=> 'lfTrtip',
"tableTools"=>[
"aButtons"=> [
[
"sExtends"=> "copy",
"sButtonText"=> "Copy to clipboard"
"sButtonText"=> Yii::t('app',"Copy to clipboard")
],[
"sExtends"=> "csv",
"sButtonText"=> "Save to CSV"
"sButtonText"=> Yii::t('app',"Save to CSV")
],[
"sExtends"=> "xls",
"oSelectorOpts"=> ["page"=> 'current']
],[
"sExtends"=> "pdf",
"sButtonText"=> "Save to PDF"
"sButtonText"=> Yii::t('app',"Save to PDF")
],[
"sExtends"=> "print",
"sButtonText"=> "Print"
"sButtonText"=> Yii::t('app',"Print")
],
]
]
Expand Down

0 comments on commit ee0c70a

Please sign in to comment.