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

rawColumns not working on array of objects #1899

Open
jkque opened this issue Nov 7, 2018 · 0 comments
Open

rawColumns not working on array of objects #1899

jkque opened this issue Nov 7, 2018 · 0 comments

Comments

@jkque
Copy link

jkque commented Nov 7, 2018

Summary of problem or feature request

I'm trying to render HTML content on array of objects but it didn't work.
am i missing something here?

Code snippet of problem

waivers:[
0:{
content: 'html content here'
},
1:{
content: 'html content here'
}
]
 $dt = Datatables::of($data);
  return $dt->rawColumns(['waivers.[,].content'])->make(true);

System details

  • OS Windows 10
  • PHP 7.1.20
  • Laravel Version 5.5
  • Laravel-Datatables Version ~8.0
@jkque jkque changed the title rawColumns on nested rawColumns not working on array of objects Nov 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants