Custom row/column rendering
Custom row/column rendering
Hello, I've looked through the documentation, but something is not clear to me.
Let's say I wanted sortable columns, but each row contains a paragraph/snippet of text, title, etc. Something more akin to search results from google or bing. If I were to write this as an HTML table, it would look something like:
[code]
TitleNumber of VisitsDocument Size
Document Title
... some snippet of text, long paragraph, or something that justifies having this text span all columns
[/code]
So the header columns would all be sortable, but the results being displayed are document-centric. Is it possible to create something like this with DataTables and if so, what relevant documentation do I have to read?
thank you
Let's say I wanted sortable columns, but each row contains a paragraph/snippet of text, title, etc. Something more akin to search results from google or bing. If I were to write this as an HTML table, it would look something like:
[code]
TitleNumber of VisitsDocument Size
Document Title
... some snippet of text, long paragraph, or something that justifies having this text span all columns
[/code]
So the header columns would all be sortable, but the results being displayed are document-centric. Is it possible to create something like this with DataTables and if so, what relevant documentation do I have to read?
thank you
This discussion has been closed.
Replies
If it is a JSON data source, then have a look at this article on orthogonal data: http://next.datatables.net/manual/orthogonal-data
Allan