New to DataTables - Question about it

New to DataTables - Question about it

mrdimnmrdimn Posts: 1Questions: 0Answers: 0
edited October 2010 in General
Hi folks -

I am thinking about using DataTables, but before I do, I am interested in knowing if it can do certain things.

1) Can it pull in a formatted HTML table from a remote page and put it's wrapper on it?

In my app, I need to have a sortable table where the table columns can be moved or expanded,
but in the table I have a lot of class codes being used and title attributes being defined.

So pulling in data through JSON or an AJAX array or XML is not really an option.

Any and all comments or suggestions are appreciated.

Thanks,

Doug

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    Hi Doug,

    How were you thinking of getting the HTML table from the remote page? Perhaps one option would be to load it into an iframe and them copy it across to your document, but that's certainly not something that DataTables will do. The built-in data source methods are explained in the documentation here: http://datatables.net/usage/#data_sources .

    Also worth noting that DataTables currently doesn't natively support moving columns and resizing them, by the end user.

    Allan
This discussion has been closed.