Comments (5)
I do it this way for a quick fix:
Datatable::collection(User::all())
->showColumns('email')
->addColumn('name',function($model){return $model->getPresenter()->fullName;})
->addColumn('created_at',function($model){return $model->created_at->toDateTimeString();})
->addColumn('last_login',function($model){return $model->last_login;})
->addColumn('options',function($model)
I still need to figure out how to do the searching on the query part but i will introduce it as soon as possible.
from datatable.
I have added a kind of fix for this in the v1.0.1 release.
Please take a look again.
from datatable.
The error is solved when using collections, but still persists if you are using queries.
from datatable.
I provide a kind of fix for this in the next version.
from datatable.
Should be fixed with v2.1.0
from datatable.
Related Issues (20)
- bug ordering columns using alias mapping
- Push to git repo HOT 1
- faceing problem with datatable HOT 3
- Package is abandoned!? HOT 6
- How to use chumper datatable to show values from an array HOT 1
- Laravel 5.2 Datatable::shouldHandle() should not be called statically HOT 2
- Datatable::query error accessing attributes model HOT 1
- Adding gif loader HOT 1
- search with query HOT 1
- Sort Descending broken HOT 2
- How to format the numbers of the datas
- Processing message while rendering table HOT 2
- Need help in order column by date HOT 1
- iDisplayLength all (-1) missing one register HOT 1
- Double Search
- export csv feature not supproted in Chumper
- Fusing Chumper Collection with the Chunk/Paginate method
- How to make load data from server to datatable chumper faster ?
- Sorting arrows are not working
- Change row background color pdf export dataTable
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from datatable.