datatables sort and search isn't working, i know why but no how to resolve this
datatables sort and search isn't working, i know why but no how to resolve this
presage
Posts: 8Questions: 0Answers: 0
Hello,
I have one table which works fine but the seconde one is a bit particular. My first table contains one object by row but my second table contains one object and this object is displayed in many rows (i give to datatable a json using django). Doing this, having only one object but many rows, sorting and searching doesn't work. Do you have any idea of how i can run this properly? I can at least sorting my first column with dictsort in my template but it's not sufficient by far. =/
I have one table which works fine but the seconde one is a bit particular. My first table contains one object by row but my second table contains one object and this object is displayed in many rows (i give to datatable a json using django). Doing this, having only one object but many rows, sorting and searching doesn't work. Do you have any idea of how i can run this properly? I can at least sorting my first column with dictsort in my template but it's not sufficient by far. =/
This discussion has been closed.