Help: Dynamically creating multiple table views and sorting data using server side processing
Help: Dynamically creating multiple table views and sorting data using server side processing
Hello all,
I have a couple questions for you at the bottom but I think the best thing is for me to layout what I am doing and why I am doing it so you can get a large scope and maybe critique my design decisions instead of the final problem I am facing....
I am working on a project using DataTables with server side processing, and I would like the user to be able to dynamically pick how they would like to see the table laid out - minimal (generic datatable) or large ( make a and insert in a thereby allowing lots of customization of the view)
I would like to be able to sort the "large" settings based on attributes - I figured adding on to the functionality of the server side processing would be easiest. So what I want to do is hide/show the table/td elements based on the large view or the minimal.
Here is what I am trying to do:
[code]
<!-- Some fancy table sytling -->
Image <!-- Sorting on these fields -->
Title
Price
[/code]
Question: Now I can use "fnRender"... but this only passes one row at a time... I would like to render the entire row myself and then pass this back to Datatables. Is there a way to do this?
Any thoughts on the way I have implemented this?
I have a couple questions for you at the bottom but I think the best thing is for me to layout what I am doing and why I am doing it so you can get a large scope and maybe critique my design decisions instead of the final problem I am facing....
I am working on a project using DataTables with server side processing, and I would like the user to be able to dynamically pick how they would like to see the table laid out - minimal (generic datatable) or large ( make a and insert in a thereby allowing lots of customization of the view)
I would like to be able to sort the "large" settings based on attributes - I figured adding on to the functionality of the server side processing would be easiest. So what I want to do is hide/show the table/td elements based on the large view or the minimal.
Here is what I am trying to do:
[code]
<!-- Some fancy table sytling -->
Image <!-- Sorting on these fields -->
Title
Price
[/code]
Question: Now I can use "fnRender"... but this only passes one row at a time... I would like to render the entire row myself and then pass this back to Datatables. Is there a way to do this?
Any thoughts on the way I have implemented this?
This discussion has been closed.