Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
nacasha authored Dec 22, 2018
1 parent cc456ac commit a83eeab
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,17 @@ You can use array too ...
Use `set_options('ajax.data', '...')` to override ajax data options


### Show paginatin in top and bottom of Datatables
This is workaround incase you want to show pagination in both top and bottom of Datatables.
I will create new API with the other changes when it ready.

Go to DatatablesBuilder.php and search for '$output' at line 176 and add this lines ([#7](https://github.com/nacasha/CIgniter-Datatables/issues/7))
```
\"pagingType\": \"full_numbers\",
\"sDom\": '<\"top\"lfprtip><\"bottom\"><\"clear\">',
```


## Styling Tables

You can use `style` to add table tag attributes to styling your table.
Expand Down

0 comments on commit a83eeab

Please sign in to comment.