Super Sale Limited Time 50% OFF for All-Access Plans
Save 50% Now

DataTables Export ISSUE!!


hI,
I followed step by step the description of this page: https://preview.keenthemes.com/html/metronic/docs/general/datatables/buttons/export,
to activate teh buttons export on my datatable application,
and the browser return me this JAVASCRIPT'S ERROR:
-----------------------------------------------------------------------------------
TypeError: can't access property "_buttons", c is undefined
/assets/plugins/custom/datatables/datatables.bundle.js:16014
--------------------------------------------------------------------------------------

some suggestions?

Thanks

Valerio Leonardis


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (5)


how did you fix it ?

Uncaught TypeError: Cannot read properties of undefined (reading '_buttons')



Thanks,
I solved the issue.

Valerio Leonardis



Hi,

Glad to hear that happy

If you need any further help please let us know.

All the best with your project.

Regards.


Your Support Matters!

We will highly appreciate your Metronic Review on Themeforest.
Please go to Themeforest Downloads page, select Metronic & leave your feedback.

Hi,

Have you included assets/js/custom/documentation/general/datatables/buttons/export.js</script> extension script right after /assets/plugins/custom/datatables/datatables.bundle.js ?

Regards.



Hi, I do not have this export.js file in my assets? Searched in purchased package but there is no such file.


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(