DataTables and JQueryUI
DataTables and JQueryUI
AleC
Posts: 2Questions: 1Answers: 0
HI all,
i'm stucked in the upgrade of datatable from version 1.10.15 to 1.10.16.
my datatables use the JQueryUI integration but with the last version some layout element does not display in the right way.
in order to understand the problem i have compared the two source code and i have found the difference that create my problem.
removed in 1.10.16:
$.extend(dataTable.ext.classes, dataTable.ext.classes, {
/* Full numbers paging buttons */
"sPageButton" : "fg-button ui-button " + _stateDefault,
"sPageButtonActive" : "ui-state-disabled",
"sPageButtonDisabled" : "ui-state-disabled",
/* Features */
"sPaging" : "dataTables_paginate fg-buttonset ui-buttonset fg-buttonset-multi " + "ui-buttonset-multi paging_", /* Note that the type is postfixed */
/* Sorting */
"sSortAsc" : _stateDefault + " sorting_asc",
"sSortDesc" : _stateDefault + " sorting_desc",
"sSortable" : _stateDefault + " sorting",
"sSortableAsc" : _stateDefault + " sorting_asc_disabled",
"sSortableDesc" : _stateDefault + " sorting_desc_disabled",
"sSortableNone" : _stateDefault + " sorting_disabled",
"sSortJUIAsc" : _sortIcon + "triangle-1-n",
"sSortJUIDesc" : _sortIcon + "triangle-1-s",
"sSortJUI" : _sortIcon + "carat-2-n-s",
"sSortJUIAscAllowed" : _sortIcon + "carat-1-n",
"sSortJUIDescAllowed" : _sortIcon + "carat-1-s",
"sSortJUIWrapper" : "DataTables_sort_wrapper",
"sSortIcon" : "DataTables_sort_icon",
/* Scrolling */
"sScrollHead" : "dataTables_scrollHead " + _stateDefault,
"sScrollFoot" : "dataTables_scrollFoot " + _stateDefault,
/* Misc */
"sHeaderTH" : _stateDefault,
"sFooterTH" : _stateDefault,
"sJUIHeader" : _headerFooter + " ui-corner-tl ui-corner-tr",
"sJUIFooter" : _headerFooter + " ui-corner-bl ui-corner-br"
});
it's an error of mine or this change can reflect into layout problems?
thanks for the help!
Regards.
Alessandro
This discussion has been closed.
Answers
I don't think they should have been removed for 1.10.16 - sorry about that. They are certainly going for v2 though!
If you want jQuery UI integration for Editor the best way to do it is with the jQuery UI integration files. The download builder will give you all of the required files if you select the options you want.
Allan
Hi Allan,
Thanks for the reply, i will try then to refactor our datatable with those libraries
Regards,
Alessandro