How do you remove the transaction from tabletools popups for create, edit and delete buttons?

How do you remove the transaction from tabletools popups for create, edit and delete buttons?

aop@mhcg.dkaop@mhcg.dk Posts: 15Questions: 4Answers: 0

Hi everyone,

I want to know how to remove the transaction from the tabletools popups?

Thanks in advance.

This question has an accepted answers - jump to answer

Answers

  • aop@mhcg.dkaop@mhcg.dk Posts: 15Questions: 4Answers: 0

    With transaction i mean the popup animation when it opens if anyone should be confused :-)

  • allanallan Posts: 61,439Questions: 1Answers: 10,052 Site admin

    I'm afraid I still don't quite understand. What popup animation? TableTools just shows a standard OS provided file save dialogue box when exporting a file.

    Allan

  • aop@mhcg.dkaop@mhcg.dk Posts: 15Questions: 4Answers: 0

    Hi allan,

    It is when creating the buttons for add/edit/delete entries in the table. When pressing add/edit/delete, the popup is shown with an animation.

    tableTools: {
    sRowSelect: "os",
    sRowSelector: 'td:not(:last-child)',
    aButtons: [
    {sExtends: "editor_create", editor: editor},
    {sExtends: "editor_edit", editor: editor},
    {sExtends: "editor_remove", editor: editor}
    ]
    }

  • aop@mhcg.dkaop@mhcg.dk Posts: 15Questions: 4Answers: 0

    Furthermore, i'm trying to style and replace the delete button text, in the DTE_Action_Remove. The button text i'm adding only seems to appear after i click / tap a button on the keyboard. I suspect that is has something to do with the default styling/javascript code of the buttons.

  • allanallan Posts: 61,439Questions: 1Answers: 10,052 Site admin
    Answer ✓

    I see - thank you for the explanation.

    Currently there is actually no way of disabling the animation Editor uses for the lightbox display, other than to use the $.fx.off parameter of jQuery. The other option would be to modify the Editor source.

    Furthermore, i'm trying to style and replace the delete button text

    Are you using the i18n.remove.button option to set your text.

    Regards,
    Allan

  • aop@mhcg.dkaop@mhcg.dk Posts: 15Questions: 4Answers: 0

    Hi Allan,

    Thanks for the response, very helpful :-)

This discussion has been closed.