Skip to content

Commit 83d2cde

Browse files
author
chriswarren
committed
Updated Readme formatting
1 parent b175639 commit 83d2cde

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,10 @@ Make sure you have jQuery.js and jQuery.dataTables.js in /public/javascripts/ an
88
### Setup
99

1010
Give table a class of 'datatable' so that the Javascript knows which tables to alter.
11-
Add <thead> around the table header (These elements will associate to the columns array created below, allowing sorting).
12-
Add <tbody> around the table rows (These are the elements that will be sorted and paginated.)
11+
12+
Add thead around the table header (These elements will associate to the columns array created below, allowing sorting).
13+
14+
Add tbody around the table rows (These are the elements that will be sorted and paginated.)
1315

1416
Activate using <%= datatable() %>, passing in the columns, how to filter them (sorting type), and any other settings (ajax source, search?, label for search, processing image)
1517

0 commit comments

Comments
 (0)