Help and Questions Using DT as a Grid

Help and Questions Using DT as a Grid

dotmundodotmundo Posts: 13Questions: 0Answers: 0
edited September 2012 in General
I have a complicated question that I suspect DT will not be able to accomplish but it is worth asking.

I am using DT as an employee directory for our Intranet users. I display the name, title, phone, department and site information.

A requirement came in where they want another kind of display where instead of the information above, the UI will only show employee photos. When the user clicks on a photo, an overlay appears displaying more in-depth information about that employee.

While I can use DT as a grid layout to host the images, the problem I foresee is filtration: In the previous display, when I enter JOHN, I get all the rows of people who has JOHN in their name. But for the images, I only want to see only the JOHN images. So what this means is that the position of each JOHN will shift within the table. If there is only one JOHN and his image is in the last row and last cell of the table, then after filtration, I expect to see him in the first row and first cell.

My reason for wanting to do this in DT is that I have all the queries and scripting to support the previous example and do not want to invent the wheel again. Let me know if this even possible and thanks for your help.

Replies

  • allanallan Posts: 63,534Questions: 1Answers: 10,475 Site admin
    You are correct, DataTables does not support a grid layout. Rows and columns are inherently linked together in DataTables and cells can't be moved individually as would be required in a grid layout (as you describe). Sorry...

    Allan
This discussion has been closed.