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

DataTables Not Fully Working Correctly with ASP.NET GridView Paging (only searches current page)

$
0
0

I have an ASP.NET GridView with the following setup:
1. Sorting is implemented using ASP.NET GridView's Sorting (OnSorting="gridList_Sorting")
2. Paging is implemented using ASP.NET GridView's Paging (OnPageIndexChanging="gridList_PageIndexChanging")
3. Searching/Filtering is implemented using JQuery DataTables

Background: The setup is that way because the GridView needs to be editable. I tried implementing sorting, paging, and searching/filtering exclusively using DataTables but I get the issue of the row-being-edited jumping unpredictably within the GridView (the row's position changes when it's clicked to be edited), and I wasn't able to solve it.

Going back, the issue is DataTables is only able to filter if the record occurs in the current GridView page. Example: In the edited image below, searching for "Fiona Green" will not display the filtered results. However, searching for "Hope" will display the filtered results.

Due to a tight time constraint, I need to maintain the setup (sorting and paging is done by ASP.NET GridView while searching/filtering is done by JQuery DataTables). I hope someone can help advise on troubleshooting and solving this issue. Advanced thanks!!!


Viewing all articles
Browse latest Browse all 81728

Trending Articles



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