-
composer require assurrussa/grid-view-table
-
If necessary, run the command
composer dump-autoload
php artisan vendor:publish --provider=Assurrussa\GridView\GridViewServiceProvider
- In file
config/amigrid.php
required settings
in template use
{!! $data !!}
<!-- AmiGridView -->
<link href="{{ asset('vendor/grid-view/css/amigrid.css') }}" rel="stylesheet">
<script src="{{ asset('vendor/grid-view/js/amigrid.js') }}"></script>
<!-- AmiGridView -->
@stack('scripts')
and ajax response - $data->toHtml()
This is a sample app developed to showcase how the assurrussa/grid-view-table package works
Check it out on heroku