spring - Dandelion datatables exporting to Excel - missing export links -
i've asked question on dandelion forum did not recieve answer trying here. afaik creator of dandelion answers here maybe lucky time.
my stack spring 4, thymeleaf , dandelion datatables 0.10.1. trying achieve simple exporting. i've started filter based exports tables populated ajax call did not work.
so i've switched controller based export - i've added code spring app problem still remains. there no export link generated in view layer! thymeleaf code looks 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 - retrieves data server (with ajax call) there no export link anywhere. how supposed work or behave then? doing wrong?
ps. why there no 'dandelion' tag? think dandelion-related questions.
as activate export, dandelion-datatables makes available new control element accessible through e parameter , automatically updates dom parameter include new control.
since override dt:dom parameter, need specify new control, example with: dt:dom="efrtlpi
disclaimer, required rules: i'm author of library.
why there no 'dandelion' tag? think dandelion-related questions.
because have not enough reputation yet i'd love have 1 :-)
Comments
Post a Comment