Hello,
Download addon
here, create "columnfilter" folder in <joomla_directory>\modules\mod_aridatatables\includes\js\widgets\datatable\plugins\ folder and copy jquery.dataTables.columnFilter.js file from downloaded archive to created folder.
After this open <joomla_directory>\modules\mod_aridatatables\includes\kernel\DataTables\Models\class.DataTablesWidgetDatatableModel.php file and add the following code to "includeAssets" method:
Code: |
AriDocumentHelper::includeJsFile($baseUri . 'plugins/columnfilter/jquery.dataTables.columnFilter.js');
|
and use the following code:
Code: |
$dtCode = sprintf('if (typeof(AriDataTables) != "undefined") AriDataTables.hideLoadingPane("#%1$s_wrapper");var options = %2$s;options["fnDrawCallback"] = function(oSettings) { adt_DataTable_DrawCallback(oSettings) };$("#%1$s").addClass("display dataTable").dataTable(options).columnFilter();',
|
instead of:
Code: |
$dtCode = sprintf('if (typeof(AriDataTables) != "undefined") AriDataTables.hideLoadingPane("#%1$s_wrapper");var options = %2$s;options["fnDrawCallback"] = function(oSettings) { adt_DataTable_DrawCallback(oSettings) };$("#%1$s").addClass("display dataTable").dataTable(options);',
|
Regards,
ARI Soft