≡
×
Plus
Manual
Examples
Reference
Download
Blog
Community
Support
Datatables can render icon view style?
Datatables can render icon view style?
AleksP
Posts: 3
Questions: 0
Answers: 0
August 2011
edited August 2011
in
General
Like WIndows Explorer does it http://www.7tutorials.com/files/img/win_explorer_conf_view_temp/cwevt2.png
Replies
allan
Posts: 65,835
Questions: 1
Answers: 10,953
Site admin
August 2011
You mean with an icon in the first column? That's no problem, just put an tag in the first column of the table and it will be displayed.
Allan
fbas
Posts: 1,094
Questions: 4
Answers: 0
August 2011
DataTables doesn't do it directly, but I've made projects that do something very similar (my output is more like "Google Images" search than "ICON view", but it's pretty similar)
http://www.datatables.net/forums/discussion/5937/how-to-display-results-as-rows-instead-of-columns/p1
the approach is to hide the original table and just add items to a div placed after (or before) the original table.
AleksP
Posts: 3
Questions: 0
Answers: 0
August 2011
I mean this http://www.rumagnate.com/images/datatables/iconview.jpg
TODO:
1) add view style (tiles, details, small icon, icon) options
2) rewrite _fnDraw()
AleksP
Posts: 3
Questions: 0
Answers: 0
August 2011
sorry, wrong image url above
here is correct http://www.rumagnate.com/images/datatables/iconview.png
This discussion has been closed.
Replies
Allan
http://www.datatables.net/forums/discussion/5937/how-to-display-results-as-rows-instead-of-columns/p1
the approach is to hide the original table and just add items to a div placed after (or before) the original table.
TODO:
1) add view style (tiles, details, small icon, icon) options
2) rewrite _fnDraw()
here is correct http://www.rumagnate.com/images/datatables/iconview.png