Showing data as thumbnails?

Showing data as thumbnails?

ravravravravravrav Posts: 3Questions: 0Answers: 0
edited January 2010 in General
Hi All,

DataTables looks so wonderful and I would like to integrate it into my website however I was wondering whether it has any functionality to display records as thumbnails rather than just rows in a table? I'm guessing that this could be achieved with some CSS and PHP modification, however has anyone actually tried this yet?

Thanks,

Replies

  • allanallan Posts: 61,775Questions: 1Answers: 10,112 Site admin
    Hi ravravrav,

    Do you mean a column based format rather than row based? So if filtering were to take place then a single cell might be removed and the table would realign to take account of that - something like the Google images display?

    If so, then I'm sorry to say that DataTables will not do that, as it is primarily row based. It's probably possible to use it for this, with cloning nodes and shunting the DOM around on each draw - but it might be a bit processor intensive.

    Regards,
    Allan
  • ravravravravravrav Posts: 3Questions: 0Answers: 0
    Hi Allan, thanks for your reply;

    Yes I do mean something like Google Images display. I think that would be really cool and it's not something I've seen before. Maybe someone else knows of a different implementation of it?
This discussion has been closed.