Integration of ListNav JQuery plugin into Datatables
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
examples
media/js
README.md

README.md

DT_ListNav

Integration of ListNav JQuery plugin into Datatables

Third Parties :

Options

Options are specified as a DataTables option, in an object called oListNav:

var oTable = $('#example').dataTable( {
	"sDom": 'Zlfrtip',
	"oListNav": {
		iIndex: 1,
        sIdList: "lnList",
        sWrapperClass : null,
        fRetreiveFirstLetters : null,
        sAllWord : 'All',
        sLetterClass : "btn abcdaire",
        sLetterDisabledClass : "btn abcdaire disabled"
	}
} );

The possible options are:

  • iIndex - index on which the filter is applied ( it starts at 0) .
  • sIdList - id for div of listnav.
  • sWrapperClass - class for wrapper container.
  • fRetreiveFirstLetters - function which return an array with first letters use with bServerSide = true.
  • sAllWord - Translate the 'all' word in your language if you need.
  • sLetterClass - class used for letters.
  • sLetterDisabledClass - class used for letters not found.

Contributing

Github offers ways to contribute code, write documentation, submit issues, suggest features, etc. Go !

License

DT_ListNav is released with dual licensing, using the GPL v2 (http://www.gnu.org/licenses/gpl.html) and the MIT license (http://www.opensource.org/licenses/mit-license.php). Please see the corresponding license file for details of these licenses. You are free to use, modify and distribute this software, but all copyright information must remain.