I've asked question on Dandelion forum but I did not recieve any answer so I am trying here. AFAIK the creator of Dandelion answers here as well so maybe I will be lucky this time.
My stack is Spring 4, Thymeleaf and Dandelion Datatables 0.10.1. What I am trying to achieve is simple exporting. I've started with filter based exports but as my tables are populated by AJAX call it did not work.
So I've switched to controller based export - I've added all the code to my Spring app but the problem still remains. There is no export link generated in a view layer! My Thymeleaf code looks like this.
<table id="appConfig" class="table-striped table-bordered dataTable" dt:export="xlsx,pdf,csv,xls" dt:table="true" dt:url="URL_WHERE_DATAATBLES_CONTROLLER_WORKS"
dt:pageable="true" dt:paginationtype="full_numbers" dt:serverside="true" dt:processing="false" dt:dom="frtlpi">
<thead>
<tr>
<th dt:property="key"><span>Parameter Key</span></th>
<th dt:property="value"><span>Parameter Value</span></th>
<th dt:sortable="false" dt:renderFunction="renderEditButton"></th>
<th dt:sortable="false" dt:renderFunction="renderDeleteButton">/th>
</tr>
</thead>
My datatable works fine - it retrieves data from the server (with AJAX call) but there is no export link anywhere. How it is supposed to work or behave then? Am I doing something wrong?
PS. Why there is no 'dandelion' tag? I think it will be good for dandelion-related questions.