Datatables can render icon view style?

Datatables can render icon view style?

AleksPAleksP Posts: 3Questions: 0Answers: 0
edited August 2011 in General
Like WIndows Explorer does it http://www.7tutorials.com/files/img/win_explorer_conf_view_temp/cwevt2.png

Replies

  • allanallan Posts: 63,107Questions: 1Answers: 10,394 Site admin
    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
  • fbasfbas Posts: 1,094Questions: 4Answers: 0
    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.
  • AleksPAleksP Posts: 3Questions: 0Answers: 0
    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()
  • AleksPAleksP Posts: 3Questions: 0Answers: 0
    sorry, wrong image url above

    here is correct http://www.rumagnate.com/images/datatables/iconview.png
This discussion has been closed.