TableExport icon indicating copy to clipboard operation
TableExport copied to clipboard

TableExport in asp.net core

Open Iwannis86 opened this issue 5 years ago • 0 comments
trafficstars

Hello, I'm trying to use this plugin in a project I'm writing in asp.net core web application. So far I have installed TableExport by adding "devDependencies": {
"tableexport": "5.2.0", "bootstrap": "3.4.1", "jquery": "3.5.0" } in my package.json. The nmp Packages are successfully installed. In my view code I have a button <input type="button" onclick="tableToExcel> from where I call a function var tableToExcel = (function () {$("table").tableexport();}); but when I try to run it I get the below error in chrome consile. Uncaught TypeError: $(...).tableexport is not a function. Do I have miss something? or my logic is wrong? Sorry I'm new to coding. Regards

  • OS: Windows 10
  • Browser Chrome
  • Version 80.0.3987

Iwannis86 avatar Apr 14 '20 09:04 Iwannis86