-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
49 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# v1.0.5 | ||
|
||
## Implemented all callbacks | ||
|
||
https://github.com/jgauffin/Griffin.Table/wiki/Callbacks | ||
|
||
## Storing JSON object on each row: | ||
|
||
Each <tr> tag that is loaded through the plugin gets it's data/json stored using $().data() which means that you can use jQuery to load it at any time. | ||
|
||
Example | ||
|
||
alert($('#myTable tbody tr:first').data('griffin-table-data').FirstName + ' is the name of the first user'); | ||
|
||
## The odd class for TR styling is now configurable | ||
|
||
$('#myTable').griffinTable({ style: { oddRowClass: 'myOdd' }}); | ||
|
||
## Added plain html/javascript examples | ||
|
||
https://github.com/jgauffin/Griffin.Table/tree/master/Source/js/Examples |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
TotalRowCount: 5, | ||
Rows:[ | ||
{Id: 1, FirstName: "Jonas1", LastName: "Gauffin", Age: 35}, | ||
{Id: 2, FirstName: "Jonas2", LastName: "Gauffin", Age: 35}, | ||
{Id: 3, FirstName: "Jonas3", LastName: "Gauffin", Age: 35}, | ||
{Id: 4, FirstName: "Jonas4", LastName: "Gauffin", Age: 35}, | ||
{Id: 5, FirstName: "Jonas5", LastName: "Gauffin", Age: 35} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.