Create/New is always a supported button - see here. I suspect you're not included the necessary JS files - if you look at the HTML and CSS tabs on that link, you'll see the files you need.
If that doesn't work, could you link to your page please.
That is correct. In Editor 1.4 the Buttons extension hadn't been written yet, so it was the (now defunct) TableTools library that was used for button display.
To use Buttons with Editor, upgrade to at least 1.5, although I would suggest using the latest release which is always available on the Editor download page.
Also worth being aware that the Editor 1.4 to 1.5 upgrade was a big one. Full details here.
Answers
Hi @ezrachen ,
Create/New is always a supported button - see here. I suspect you're not included the necessary JS files - if you look at the HTML and CSS tabs on that link, you'll see the files you need.
If that doesn't work, could you link to your page please.
Cheers,
Colin
I have searched:
https://datatables.net/forums/discussion/32672/cannot-extend-unknown-button-type-create
Allan said:
That's odd - I was expecting 1.4 or earlier based on the error you are seeing. The create button was added in 1.5.0.
That is correct. In Editor 1.4 the Buttons extension hadn't been written yet, so it was the (now defunct) TableTools library that was used for button display.
To use Buttons with Editor, upgrade to at least 1.5, although I would suggest using the latest release which is always available on the Editor download page.
Also worth being aware that the Editor 1.4 to 1.5 upgrade was a big one. Full details here.
Allan