-3
I’m trying to implement my json
using the tool datatable
, follows my json
:
[
{"Nome":"Felipe","Data":null,"Tipo":"Normal","RG":"123456798"},
{"Nome":"Felipe2","Data":null,"Tipo":"Normal","RG":"123456798"},
{"Nome":"Felipe3","Data":null,"Tipo":"Normal","RG":"123456798"}
]"
fix an example on JSFIDDLE url: https://jsfiddle.net/o3b8tf32/
After that, I would like to know if there is any possibility of leaving the heading dynamic, that is, the <th></th>
of <thead>
Thank you
Thanks @Thiago , friend, has to leave the header of
<thead>
dynamic, tipow, the name of the property already pick up direct by ajax– Furlan
For the record, follow Fiddler with dynamic generation of column https://jsfiddle.net/rboschini/o3b8tf32/5/
– RBoschini
Legal, @Rboschini. I made an update with column filter: https://jsfiddle.net/o3b8tf32/6/
– Thiago Lunardi