table transpose

table transpose

alimontialimonti Posts: 9Questions: 0Answers: 0
edited October 2010 in General
Hy Allan,
thanks for this great plugin,
i'm using it a lot and with great satisfaction, but the more i use it the more customization i need.. :) i would like to know if it's possible to transpose the dataTable object.

Thank you in advance.

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    As in flip rows to become columns and vice-versa? Basically no - I'm afraid not. It is quite intrinsic to how DataTables is implemented that there rows / columns paradigm is horizontal / vertical, respectively. I'm sure it would be possible, it it would require a lot of work to support sorting and filtering etc with this kind of transposed table.

    Allan
  • alimontialimonti Posts: 9Questions: 0Answers: 0
    thank u for your quick response,
    i understand the complexity to upgrade dataTable widget with this function,
    i need this feature cause sometimes the data i'm showing have too much columns and few rows,
    so just in that case i was thinking to transpose the table.
    Do u have any ideas to solve this problem without considering table transposition ?
  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    I think the closest you'd get with DataTables as it currently stands is x-scrolling: http://datatables.net/examples/basic_init/scroll_x.html . You could use FixedColumns to try and give a little bit of aid for wide scrolling tables as well: http://datatables.net/release-datatables/extras/FixedColumns/index_column.html .

    Allan
  • alimontialimonti Posts: 9Questions: 0Answers: 0
    Thank u Allan
    i'm going to try with x-scrolling and see if it works well for my page. :)
This discussion has been closed.