Skip to content

Latest commit

 

History

History
279 lines (174 loc) · 16.4 KB

ChangeLog.markdown

File metadata and controls

279 lines (174 loc) · 16.4 KB

Yet Another DataTables Column Filter (yadcf) Change-log

0.9.2 still in beta (grab latest stable from https://github.com/vedmack/yadcf/releases)

0.9.1

  • Added support to AMD and CommonJS vedmack#356
  • Improved filter values alpha numeric sorting, sort_as: "alphaNum"
  • Fixed autocomplete in cumulative mode filtering
  • Fixed chosen in cumulative mode filtering vedmack#344
  • Support jQuery 3 (for .dataTable({}).yadcf api) vedmack#360
  • Fixed chosen with serverSide: true vedmack#374
  • Some of additional fixed issues vedmack#346 / vedmack#362 / vedmack#363

0.9.0

  • Fixed autocomplete with dt in ajax source vedmack#282
  • New option, omit_default_label - Prevent yadcf from adding "default_label" (Select value / Select values)
  • Fixed destroy for multiple tables vedmack#293
  • Allow selecting date and time (without closing filter) in date filtering vedmack#296
  • Added global property - filters_tr_index: Allow to control the index of the inside the thead of the table, e.g when one is used for headers/sort and another is used for filters vedmack#297
  • Fixed values with quotation marks filtered incorrectly by filter_type select vedmack#317
  • Added moment_date_format for better parsing when using datepicker_type: 'bootstrap-datetimepicker'
  • Support jQuery 3 vedmack#336
  • Some of additional closed issues vedmack#295 / vedmack#308 / vedmack#314 vedmack#342 / vedmack#351 / vedmack#347

0.8.9

0.8.8

  • Add regex for filter_match_mode property (xmikew)
  • Added alphaNum and custom to the sort_as and added sort_as_custom_func
  • New property, style_class - allows adding additional class/classes to filter
  • Added and exclude filtering checkbox (currently available for the text filter)
  • New property, append_data_to_table_data to place your data array in addition to the values that yadcf grabs from the table
  • Aded support for Select2 v.4.0
  • Added exResetFilters function to reset specific filters (one or more) vedmack#162
  • Added html5_data support for range_number and range_number_slider vedmack#158
  • Added externally_triggered and exFilterExternallyTriggered function to allow creating "search forms" , fill the filters and hit the "filter" button to filter them all http://yadcf-showcase.appspot.com/dom_source_externally_triggered.html
  • ColReorder support for all filter types! vedmack#138
  • Added multi_select with selects & chosen for initMultipleTables and initMultipleColumns vedmack#132
  • Predefined data can be added in addition to values that yadcf grabs from the table column, usage - append_data_to_table_data: true , vedmack#178
  • custom_func and multi_select_custom_func passing third argument (array that holds the values of the entire row) to the custom function, vedmack#179
  • New property for filter, style_class - allows adding additional class/classes to filter - available for the following filters: select / multi_select / text / custom_func / multi_select_custom_func
  • TL;DR (Features / Enhancements / Bugs)

0.8.7

  • Support complex headers (rowspan / colspan) vedmack#119
  • Support for ColReorder including server side and state saving (at the moment for 'select' and 'text' filters) vedmack#107 and vedmack#151
  • Added initMultipleColumns function to allows to add filter for multiple columns on a table vedmack#79
  • initMultipleTables is now supports select filter type too vedmack#132 (still a work in progress)
  • Allow advanced selection of value from html code inside the td element - html_data_type support now 'selector' type (must provide value for 'with html_data_selector' too), vedmack#116
  • Skip empty strings in the column (avoid entering empty strings into the select / auto_complete filters) vedmack#112
  • Support custom_func / multi_select_custom_func in exResetAllFilters and exFilterColumn functions vedmack#126
  • Bugs / Features vedmack#136 / vedmack#131 / vedmack#142 / vedmack#123 / vedmack#139 / vedmack#148 vedmack#144 / vedmack#155

0.8.6

0.8.5

0.8.4

  • New feature, added initFilterMultipleTables function, one (currently only filter_type: "text") filter for multiple tables - filter at once! vedmack#80
  • New feature, added exResetAllFilters function: Allows to reset all filters externally/programmatically (support ALL filter types!!!) , perfect for adding a "reset all" button to your page! vedmack#78
  • exGetColumnFilterVal support new Datatable (Capital "D") https://groups.google.com/forum/#!topic/daniels_code/4ryW4_0P2EE
  • Fixed IE8 issues vedmack#73
  • Migrated to MIT license vedmack#82
  • Better support for columnDefs
  • Date filtering with server side configuration will send the value / from-to (if range date) as is (without converting into milliseconds)
  • Bug fixes

0.8.3

0.8.2

0.8.0

  • Added support for server-side processing filtering(1.10.0) - all filters are fully working on server-side processing
  • filter_delay is now supported in text / range_number / range_date filters / range_number_slider filters, this option can be really handy when working with server-side processing (but not only)

0.7.4

  • Added optional delay (usage example filter_delay: 1000) for filter_type: "text" (allows to delay filtering while typing characters) vedmack#51
  • Allow hide filter reset button for filter_type: "multi_select" vedmack#55
  • Added placeholder for multiple select mode (without Chosen integration) vedmack#54

0.7.2

  • Added another external API function : exGetColumnFilterVal, Allows to retrieve column current filtered value (support ALL filter types!!!) vedmack#45
  • "data" property supports array of objects [{value: 'Some Data 1', label: 'One'}, {value: 'Some Data 3', label: 'Three'}] (supported in select / multi_select filters) vedmack#48
  • Bug fix vedmack#49
  • Several code optimizations

0.7.0

  • Reimplemented exFilterColumn to support ALL filter types!!! + Now it can be used even for multiple pre filtered columns vedmack#46
  • Bug fix vedmack#47

0.6.9

  • Added new filter type: multiple selection, filter_type: "multi_select". With or without Chosen plugin support (select_type: 'chosen') (vedmack#41) , thanks goes to Ryan Harris vedmack#23

0.6.7

0.6.4

  • Bug fix

0.6.3

  • Added new filter type: text input (a simple input text) filter_type: "text" (vedmack#34)
  • Added new feature: case_insensitive, can be set to false or true (default) (vedmack#35)
  • Added new mode "startsWith" for filter_match_mode (vedmack#37)
  • Added new feature: hide filter reset button (merged pull vedmack#30 <- Thanks to Gator92)

0.6.0

  • Added integration with Chosen plugin (for the select filter)
  • For the integration with Chosen: added two new attributes, 'select_type' to allow turning of simple select into chosen select and 'select_type_options' used to pass an object to the chosen constructor , don't forget to include the chosen js file and read/look at the docs/showcase

0.5.8

  • Added new filter type: date input, make use of the jQuery UI Datepicker widget, filter_type: "date" (vedmack#26)
  • Several code enhancements

0.5.6

0.5.0

  • Added support for mData (including deeply nested objects) vedmack#20
  • Bug fix

0.4.7

  • New feature: filter_match_mode, Allows to control the matching mode of the filter (supported in select and auto_complete filters), Possible values: contains / exact

0.4.6

  • Added first external API function : exFilterColumn, allows to trigger filter externally/programmatically (currently support only filter_type : "select") , perfect for showing table after its being filtered (onload) (vedmack#14)
  • Added support for aoColumns { "bVisible": false } (vedmack#16)
  • Added support for column_data_type & html_data_type in Range Number Slider Filter (vedmack#15)

0.4.2

0.4.0

  • Added new filter type: range between two dates with jQuery UI Datepicker widget, filter_type: "range_number_slider" (vedmack#6)
  • Added new attribute to yadcf constructor: date_format, it defines the format in which the date values are being parsed into Date object and also in which format the datepicker will display the selected dates, default value: "mm/dd/yyyy"

0.3.8

  • Added new filter type: range between two numbers with jQuery UI Slider widget, filter_type: "range_number_slider" (vedmack#6)
  • Fixed IE8 issues (vedmack#7)

0.3.5

  • Added new filter type: range between two numbers
  • Added new attribute to yadcf constructor: filter_type (String), possible values are select / auto_complete / range_number, (default is select)
    • In order to set custom labels for the range inputs use the filter_default_label attribute with array of two string as input , example: filter_default_label: ["myFrom", "myTo"]
  • enable_auto_complete attribute is now deprecated, although its still can be used I recommend to use filter_type: "auto_complete"

0.3.3

  • Added two attributes:
    • sort_as : Defines how the values in the filter will be sorted, alphabetically or numerically (default is alphabetically)
    • sort_order : Defines the order in which the values in the filter will be sorted, ascending or descending (default is ascending)

0.3.1

  • Better align of filter + close button (inside a wrapper div)

0.3.0

  • Added support for multiple tables

0.2.0

  • Added enable_auto_complete option
  • Several code enhancements (added ids to filters etc...)