Filtering with First Letter
Filtering with First Letter
Is there any plugin that can build a english letter menu (ALL | A | B | C ... Z) so that i can filter the data that start with that character?
just like this jquery do: http://www.ihwy.com/labs/Demos/Current/jquery-listnav-plugin.aspx
I am new to datatables. Maybe this question is easy to solve... Thanks!
just like this jquery do: http://www.ihwy.com/labs/Demos/Current/jquery-listnav-plugin.aspx
I am new to datatables. Maybe this question is easy to solve... Thanks!
This discussion has been closed.
Replies
JS code
[code]
var oTable = $('#schoollist').dataTable( {
"sDom": "frtip",
"iDisplayLength": 10,
"sPaginationType": "full_numbers",
"bStateSave": true
});
function fil(rexp)
{
$('#schoollist').dataTable().fnFilter(rexp, 0, true, false);
}
[/code]
HTML CODE to control A~Z
[code]
ALL |
A |
B |
C |
[/code]
you can find it on github
http://github.com/DukeAstar/DT_ListNav
Regards,
Allan
It's a first release which match my needs , but I'm gonna extend it to be more flexible.
The listnav options are not accessible for now, but they will be available ASAP.