You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But the Dandelion Datatables dialect is not working because it seems to be expecting always a dt:table="true" attribute into the table tag. For example:
It even happens with the Thymeleaf eclipse plugin. Once you add the dt:table="true" the atribute autocompletion works, even for the data-dt-* variants.
The text was updated successfully, but these errors were encountered:
cordin
changed the title
Datatables Thymeleaf dialect ignores HTML5 friendly attribute names (data-dt-*)
Datatables Thymeleaf dialect ignores HTML5 friendly attribute names (data-dt-*) if you don't add dt:table="true"
Apr 7, 2016
cordin
changed the title
Datatables Thymeleaf dialect ignores HTML5 friendly attribute names (data-dt-*) if you don't add dt:table="true"
Datatables Thymeleaf dialect ignores HTML5 friendly attribute names (data-dt-*) if you don't add 'dt:table="true"'
Apr 7, 2016
Since Thymeleaf 2.1 you can use another format for the Thymeleaf and its dialects attributes, which is more compliant with HTML5. Instead of the prefix:attribute format you use the data-prefix-attribute format. See: http://www.thymeleaf.org/doc/tutorials/2.1/usingthymeleaf.html#support-for-html5-friendly-attribute-and-element-names
But the Dandelion Datatables dialect is not working because it seems to be expecting always a
dt:table="true"
attribute into the table tag. For example:<table id="MyTable" data-dt-table="true" data-dt-sortable="true">
<table id="MyTable" dt:table="true" data-dt-table="true" data-dt-sortable="true">
It even happens with the Thymeleaf eclipse plugin. Once you add the
dt:table="true"
the atribute autocompletion works, even for the data-dt-* variants.The text was updated successfully, but these errors were encountered: