Skip to content

Commit a83eeab

Browse files
authored
Update README.md
1 parent cc456ac commit a83eeab

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

+11
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,17 @@ You can use array too ...
159159
Use `set_options('ajax.data', '...')` to override ajax data options
160160

161161

162+
### Show paginatin in top and bottom of Datatables
163+
This is workaround incase you want to show pagination in both top and bottom of Datatables.
164+
I will create new API with the other changes when it ready.
165+
166+
Go to DatatablesBuilder.php and search for '$output' at line 176 and add this lines ([#7](https://github.com/nacasha/CIgniter-Datatables/issues/7))
167+
```
168+
\"pagingType\": \"full_numbers\",
169+
\"sDom\": '<\"top\"lfprtip><\"bottom\"><\"clear\">',
170+
```
171+
172+
162173
## Styling Tables
163174

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

0 commit comments

Comments
 (0)