Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82127

search box shows all results on a specific text when it shouldn't

$
0
0
I am getting row data from my viewmodel. Whenever i type "administrator", it gets all the result instead of displaying only text with administrator.

eg.
name
admin1
user1
user2

so if i type "admin" it gets all the results instead of just retrieving 'admin1'. Other than that it works fine. Does anyone kno why this is happening? any help would be appreciated.

Here's my code
//datatable
$('#administrators_gridView').dataTable({
"iDisplayLength": 25
});
//table element
<table id="administrators_gridView" class="">

Viewing all articles
Browse latest Browse all 82127

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>