jsrosas
jsrosas

Reputation: 103

Dandelion Datatables Export Button onclick causes a is undefined Jquery error

I am trying to export data from a Dandelion Datatables table.

<table id="simlist" dt:table="true" dt:export="xlsx">

Button is visible but browser console returns

TypeError: a is undefined[Learn More]

I see Jquery2.2.3 before any dandelion scripts. Dandelion Datatables version 1.1.0 Thymeleaf 2.1.2.RELEASE Any suggestions?

Upvotes: 0

Views: 202

Answers (1)

Borut
Borut

Reputation: 1

Are you using filter-based or controller-based export?

In case of the first you must register Dandelion-Datatables filter (see doc 6.2), and for the controller-based export (see doc 6.3) you must write and register controller.

Upvotes: 0

Related Questions