Summary
Option | Description |
---|---|
alphabetSearch() | Searches for data beginning with given letter |
Details
alphabetSearch(letter)
Searches for data beginning with given letter.
Parameters:
letter
String Letter
Returns:
DataTables.Api
Example:
Perform search for letter G
after table has been fully initialized.
var table = $('#example').DataTable({
dom: 'Alfrtip',
alphabetSearch: {
column: 0
},
initComplete: function( settings, json ){
this.api().alphabetSearch('G').draw();
}
});
See Letter search example for demonstration.