How to let the table ignores nested objects in data?
How to let the table ignores nested objects in data?
MoeYehya
Posts: 16Questions: 9Answers: 0
I am using c# with jquery. sometimes queries returns data with nested objects that i won't show them in the table, which cause problem in showing data.
There is an option that i can give to the table so it ignors nested objects? or per example only takes one level of nested objects?
Answers
This example shows how to display nested objects. I'm not sure if that is what you are asking. If the cell data contains nested objects then use
columns.render
to display them the way you want.Maybe you can build a simple test case showing an example of your data with details of how you want it displayed so we can offer more specific suggestions.
https://datatables.net/manual/tech-notes/10#How-to-provide-a-test-case
Kevin