Welcome Guest, Not a member yet? Register   Sign In
How to implement Server Side DataTable in CI4
#3

(This post was last modified: 08-01-2020, 06:22 AM by jreklund.)

(07-28-2020, 05:41 AM)MGatner Wrote: I expect your index route ('/product-codes(:any)') is matching your AJAX call. Try switching the order of the routes, or making the first route more specific.
$routes->add('/product-codes(:any)''Code8ProductCode::index'); //This is the Page Itself

$routes->add('/product-code/showProductCodes(:any)''Code8ProductCode::showProductCodes'); //This is the Ajax Request 

the 2nd one is the Ajax request call
Reply


Messages In This Thread
RE: How to implement Server Side DataTable in CI4 - by mr_e - 07-30-2020, 01:19 AM



Theme © iAndrew 2016 - Forum software by © MyBB