yajra-datatable

Laravel yajra datatable: cannot retrieve the search parameter from ajax call in controller

末鹿安然 提交于 2019-11-28 14:40:31
I am trying to build a dataTable with custom filtering with the help of yajra datatable from here : HTML table in view : <form id="search-form" class="form-inline" method="POST" role="form" action="#"> <select id="batch" name="batch"> <option value="">Select</option> <option value="22">Skill Level CBE Dec 2018</option> <option value="2">Batch 2</option> </select> <button class="btn btn-primary" type="submit">Search</button> </form> <table class="table table-striped table-bordered datatable" cellspacing="0" width="100%"> <thead> <tr> <th>{{ getPhrase('S/N')}}</th> <th>{{ getPhrase('Batch')}}<

Laravel yajra datatable: cannot retrieve the search parameter from ajax call in controller

非 Y 不嫁゛ 提交于 2019-11-27 08:51:32
问题 I am trying to build a dataTable with custom filtering with the help of yajra datatable from here : HTML table in view : <form id="search-form" class="form-inline" method="POST" role="form" action="#"> <select id="batch" name="batch"> <option value="">Select</option> <option value="22">Skill Level CBE Dec 2018</option> <option value="2">Batch 2</option> </select> <button class="btn btn-primary" type="submit">Search</button> </form> <table class="table table-striped table-bordered datatable"