Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i can't use addColumn in datatables(l5) #33

Closed
openvast opened this issue Apr 29, 2015 · 3 comments
Closed

i can't use addColumn in datatables(l5) #33

openvast opened this issue Apr 29, 2015 · 3 comments

Comments

@openvast
Copy link
Contributor

when use addColumn ,the datatable has somethings wrong
js datatables setting: "bServerSide": true(datatables 1.9.4)
php error see images
20150429174402
20150429174413

if "bServerSide": false, Pagination just has one page ,how to do?
20150429174451

And use datatables 1.10.5.the problem still exists

see here

if i don‘t add html class addClass, datatables hasn't problem ,return json has addColumn "222", when add html class"addColumn" an refresh web, the datatables has error

20150429182021
20150429182008
20150429181927

@yajra
Copy link
Owner

yajra commented Apr 29, 2015

can you please paste your javascript side?

For DT1.10++ you need to set the addColumn part as searchable:false, orderable:false to prevent this issue.

For DT1.9++, will have to check it as it maybe a bug. I suggest that you stick/use version 1.10++

@openvast
Copy link
Contributor Author

javascript

20150429232351
20150429232125

use DT1.94 longtime , change to use dt1.10+ ,i must revise the html css and rebuilt a DT Pagination like that。AND I be not good at javascript ,^.^^.^^.^ help

20150429234047

@openvast
Copy link
Contributor Author

HI, I try to solve this problem, and success。
20150430000803
path:vendor\yajra\laravel-datatables-oracle\src\yajra\Datatables\Datatables.php
in image line 961 ,define a new column in array ....

can you use that and update the project as soon as fast to solve the problem forever.
English is not good,Thank you for your patience to read^.^^.^.^^.^
20150430002209

yajra added a commit that referenced this issue Apr 30, 2015
@github-actions github-actions bot locked and limited conversation to collaborators Nov 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants