Tabletools + Editor + Strapboot

Tabletools + Editor + Strapboot

kmpoaquestskmpoaquests Posts: 2Questions: 0Answers: 0
edited August 2012 in TableTools
Is it possible to have a datatables that incoporates the following ?

Tabletools (csv,xls,pdf etc)
editor for Crud functioaltiy
as well as Twitter strapboot

I can only come up with this by slightly modifying the examples downloaded.
http://uberfrost.com/tables/extras/edit/examples/bootstrap.html

I would appreciate any help since I'm a super newbie when it comes to coding.
Been up since 4am trying to figure this out.

Appreciate any assistance.

Replies

  • allanallan Posts: 63,516Questions: 1Answers: 10,472 Site admin
    Hi,

    The link you gave is indeed TableTools + Editor + DataTables and Twitter Bootstrap :-). The buttons in the top left are TableTools buttons. Is it something else that you want added into that mix?

    Allan
  • kmpoaquestskmpoaquests Posts: 2Questions: 0Answers: 0
    edited August 2012
    I'm not able to use the ability to add export buttons such as pdf csv, etc

    If I do include something like abuttons: "pdf",

    Then I end up with the table not even rendering

    **update

    so if you click the link above you will see that I've got the print,copy, export to pdf / csv options there
    but they are not functional with the exception of print.

    **Update #2

    upon further investigation I found that a needed .swf file was missing from the code that I copied .
    I am trying to now inpliment the

    "bSelectedOnly" attribute to the dropdown portion of the bootstrap menu seen below



    "aButtons": [ "csv", "xls", "pdf", "print", ]



    appreciate it
  • allanallan Posts: 63,516Questions: 1Answers: 10,472 Site admin
    bSelectedOnly works just the same way as for the other buttons:

    [code]
    "aButtons": [
    {
    "sExtends": "csv",
    "bSelectedOnly": true
    },
    ...
    ]
    [/code]

    Allan
This discussion has been closed.