I am using datatables . And by default, with the pagination function, when sorting a single column, it redraws the entire table and puts you on the first page paginated. Is there an easy way to tell the data that I want to sort and redraw only the current pagination? And if there is no way to override the default sort function? Addition: I am a static usin data table without any ajax functions.
I saw some ideas on the Internet, but the only thing that worked for me was commenting out reset to 0 in the _fnFilterComplete function
/* Redraw the table */ /*oSettings._iDisplayStart = 0 Andrew nuked this 8/5/2013 ;*/ _fnCalculateEnd( oSettings ); _fnDraw( oSettings );
Source: https://habr.com/ru/post/979484/More articles:Android: how to record a long event on soft input / keyboard? - androidHow to test Android Wear watchface app? - androidAutomated Dockerhub assemblies with multiple private repositories - gitHow to sort only the current page using jQuery datatable - jqueryHow to insert multiple select statements in a temporary table - sqlIs there an open source alternative for talky.io? - node.jsHow to get a list of all collections in a DocumentDB document? - azure-cosmosdbexceptions should be old-style classes or derived from BaseException, not NoneType - pythonWebChat via WebRTC - xmppWeb Api 2: BadRequest with custom error model - c #All Articles