Skip to content

Latest commit

 

History

History
378 lines (274 loc) · 16.9 KB

CHANGE.md

File metadata and controls

378 lines (274 loc) · 16.9 KB

Change Log: yii2-grid

Version 3.0.8

Date: 24-Oct-2015

  1. (enh #347): New defaultPagination property to allow setting default to 'page' or 'all'.
  2. (bug #370): Enhance EditableColumn::refreshGrid validation.
  3. (bug #371): Allow tag to be set for rendering beforeHeader.
  4. (enh #380): Allow toolbar and panel classes/layouts to be overridden.
  5. (bug #387): Rename Czech translation message folder from cz to cs.
  6. (enh #389): Various enhancements to table float header.
  7. (enh #390): Perfect scroll bars plugin enhancement.
  8. Various coding style enhancements, optimizations, and fixes.
  9. (enh #391): Toggle data enhancement with confirmation dialog for show all and hide maxCount.
  10. Regenerate and update message translations.

Version 3.0.7

Date: 13-Sep-2015

  1. (enh #336): Add enableCache property in ExpandRowColumn.
  2. (enh #352): Display expanded ajax content in ExpandRowColumn when initial value = ROW_EXPANDED.
  3. (enh #354): Add options to set resizableColumns plugin options.
  4. Better styling for revamped Select2 widget.
  5. (enh #365): Validate disabled checkbox rows for highlight in CheckboxColumn.

Version 3.0.6

Date: 15-Jul-2015

  1. (enh #338): Various enhancements for grid excel export formatting.

Version 3.0.5

Date: 07-Jul-2015

  1. (enh #322): Send serialized data-key when ExpandRowColumn has a composite key.
  2. (enh #323): Prevent pjax:complete init script being called multiple times.
  3. (enh #325): Various enhancements to client script registrations.
  4. (enh #326): Zero width joiner for excel exports.
  5. (enh #328): Add Turkish translations.
  6. (enh #334): Add grid grouping functionalities.

Version 3.0.4

Date: 24-Jun-2015

  1. (enh #320): Trim trailing whitespaces from text/csv exports.
  2. (enh #321): Add Indonesian translations.

Version 3.0.3

Date: 15-Jun-2015

  1. (enh #300): Add Lithuanian Translations.
  2. (enh #301): Add Greek Translations.
  3. (enh #310): Updated German Translations.
  4. (enh #311): Better defaulting of Select2 pluginOptions['width'].
  5. (enh #313): Add Czech translations.
  6. (enh #317): Add missing spanish translations.
  7. (enh #318): Fix post pjax setTimeout JS function.

Version 3.0.2

Date: 11-May-2015

  1. (enh #261): Allow initialization of ExpandRowColumn cells even if they are hidden.
  2. (enh #263): Added fa-IR (Farsi) translations.
  3. (enh #268): Fix BooleanColumn::falseIcon default.
  4. (enh #271): Better parsing of hidden columns to calculate ExpandRowColumn rowspan.
  5. (enh #272): New property ExpandRowColumn::expandOneOnly to allow only one row to expand at a time.
  6. (enh #282, #284): Allow disabling click behavior for specific elements when ExpandRowColumn::enableRowClick is true.
  7. (enh #287): Allow columns to be highlighted on initialization of CheckboxColumn.
  8. (enh #288): Enhance grid export plugin to clean up hyperlink tags within table header.
  9. (enh #290): Allow expandOneOnly property behavior even if allowBatchToggle is set to false.
  10. (enh #291): ExpandRowColumn styling enhancements.
  11. (enh #296): Responsively wrap table columns for smaller screen devices.

Version 3.0.1

Date: 14-Mar-2015

  1. (enh #176): Allow displayValue to be overridden for editable column.
  2. (enh kartik-v/yii2-dynagrid#47): Set a timeout for plugin reinitialization on pjax complete.
  3. (enh #229): Ability to set readonly rows in EditableColumn.
  4. (enh #237): Parse valueIfNull correctly within EditableColumn editableOptions.
  5. (enh #239): Updated Russian translations.
  6. (enh #245): Various enhancements to grid pagination toggle.
  7. (enh #247): Add ability to set dropdownOptions for ActionColumn dropdown.
  8. (enh #249): Add new properties toggleDataContainer and exportDataContainer for controlling button group options.
  9. (enh #250): Parse pjax setting in toggleData button to enable toggling pagination via pjax.
  10. (bug #251): Fix ExpandRowColumn bug with disabled closure and unnecessary check for title.
  11. (bug #252): Fix undefined $filterInputOptions in DataColumn.
  12. (enh #253): Enhance EditableColumn refreshGrid behavior for multiple editable columns on the grid.
  13. (enh #255): Enhance ExpandRowColumn to allow expand/collapse on row click.
  14. (enh #256): New property extraData for sending extra data to ExpandRowColumn via ajax load call.
  15. (enh #257): Fix for detailOptions to be set as Closure in ExpandRowColumn.

Version 3.0.0

Date: 13-Feb-2015

  1. (bug #178): Enhance CheckboxColumn to allow contentOptions to be set as Closure.
  2. (enh #178): New validation of contentOptions for all the extended grid Columns.
  3. Code formatting updates as per Yii2 coding style.
  4. (bug #180): Fix namespaces of classes.
  5. Revamp to use new Krajee base Module and TranslationTrait.
  6. (bug #183): Implement alignment validation for content within ActionColumn.
  7. (bug #184): Correct the dependency on kartik\mpdf\Pdf for export.
  8. (bug #185): Set right jQuery selector for grid table export.
  9. (enh #186): New feature - Allow resizing of columns like a spreadsheet.
  10. (enh #188): Eliminate filter row and all form inputs from export.
  11. (enh #189): Various performance enhancements to client script and plugin registrations.
  12. (bug #190): Allow editable beforeInput in EditableColumn to be passed as Closure.
  13. (bug #191): Correct Closure namespace for value validation in GridView.
  14. (bug #192): Correct value callback in FormulaColumn.
  15. (enh #198): Better container for initializing resizableColumns.
  16. (enh #200): Expand row loading indicator reset for ajax load.
  17. (enh #202, #203): Fix grid container overflow and responsive property.
  18. (enh #207): Fix EditableColumn to have absolute reference to Closure.
  19. (enh #209): Code cleanup and restructure for various JS lint changes (using JSHint Code cleanup library).
  20. (enh #213): Default persistResize to false to prevent client caching of column widths.
  21. (bug #214): Fix EditableColumn Closure use bug.
  22. (bug #215): Add Simplified Chinese message translations.
  23. (bug #216): Fix resizable columns container identifier.
  24. (enh #218): Allow gridview to be used as a sub-module.
  25. (enh #221): Trim json exported fields by default.
  26. (enh #226): Updated Russian Translations.
  27. (enh #227): New grid column extension RadioColumn.
  28. Set copyright year to current.

Version 2.9.0

Date: 26-Dec-2014

  1. (bug #172): Ability to configure export form submission target.
  2. (bug #173): Ability to configure display of confirmation alert dialog before export.

Version 2.8.0

Date: 16-Dec-2014

  1. (bug #167): Fix Yii message parsing for Html5Input '$this->noSupport'.
  2. (enh #168): Prevent user to rapidly toggle and break the expand row before expansion or collapse.
  3. (enh #169): Enable itemsBefore and itemsAfter to be added for export dropdown menu.

Version 2.7.0

Date: 02-Dec-2014

  1. (enh #150): New ExpandRowColumn added - allows to expand grid rows, show details, and load content via ajax.
  2. (enh #152): Included prepend and append settings within pageSummaryOptions to prepend/append content to page summary.
  3. (enh #154): Trap alert confirm dialog to allow export even after being hidden by browser do not show option.
  4. (enh #156): Separate all JS / CSS assets and load only if the relevant functionality is needed.
  5. (enh #157): Recursively replace/merge PDF export configuration correctly.
  6. (enh #158): Include demo messages for auto generating via config.

Version 2.6.0

Date: 19-Nov-2014

  1. (enh #139): German translations updated.
  2. (enh #140): French translations added.
  3. (bug #141): Enhance EditableColumn to have unique attribute input ids yet the same name.
  4. (bug #142): Fix missing headers in export, due to improper floatThead settings.
  5. (bug #143): Ability to disable / hide GridView panel footer.
  6. (enh #144): Revamp templates to easily configure different parts of the grid panel layout. (BC breaking change).
  7. (enh #145): Enhance style to enable floated header wrapper tables to autofit/expand inside panel.

BC Breaking Changes

  1. Removed showFooter from panel array configuration. This can be now configured with footer option within the panel.
  2. Removed layout from panel array configuration. This can be now configured with panelTemplate at the GridView level.
  3. Renamed beforeTemplate property to panelBeforeTemplate.
  4. Renamed afterTemplate property to panelAfterTemplate.
  5. Renamed beforeContent tag used in panelBeforeTemplate to before.
  6. Renamed afterContent tag to panelAfterTemplate to after.
  7. EditableColumn attribute naming convention has changed. Developers do not need to use Model::loadMultiple method anymore and have the ability to directly use the $model->load method.

Additions

  1. Templates have been simplified and consolidated to the following configurable properties:
    • panelTemplate: Template to render the complete grid panel.
    • panelHeadingTemplate: Template to render the heading block part of the panel.
    • panelBeforeTemplate: Template to render the before block part of the panel.
    • panelAfterTemplate: Template to render the after block part of the panel.
    • panelFooterTemplate: Template to render the footer block part of the panel.
  2. The heading, footer, before, and after properties in the panel typically accepts a string to render in that particular block. All of these can be set to boolean false to hide them.
  3. HTML attributes for each of the above containers are now configurable i.e via headingOptions, footerOptions, beforeOptions, and afterOptions properties in the panel array configuration.
  4. Vast enhancements to CSS styling when using Float Table Header wrapper. This now ensures tables auto fits and expand rightly to fit inside the panel.

Version 2.5.0

Date: 17-Nov-2014

  1. (bug #135): Upgrade to latest release of floatTHeader plugin.
  2. (bug #136): Fix IE specific errors in floatHeader when columns are hidden.

Version 2.4.0

Date: 14-Nov-2014

  1. (bug #132): Correct page summary calculation.
  2. (bug #133): Skip mPDF dependency when export is set to false.

Version 2.3.0

Date: 07-Nov-2014

  1. (bug #87): Fix key as object in mongodb.
  2. (enh #116): Vietnamese translations added.
  3. (enh #121): Portugese translations added.
  4. (enh #122): Hungarian translations added.
  5. (enh #127): Enhance dependency validation and ability to install optional packages.
  6. (bug #131): Fix missing options in toggleDataOptions initialization.
  7. First stable release

Version 2.2.0

Date: 04-Nov-2014

  1. (enh #110): Various export functionality enhancements):
    • Add a separate export popup progress window.
    • Setup a confirmation prompt to allow user to confirm if file is to be downloaded.
    • Separate messages configuration for all export related notifications.
    • Asynchronous export process on the separate window - and avoid any grid refresh
    • Set export mime types to be configurable
    • Add support for exporting new file types):
      • JSON export
      • PDF export (using yii2-mpdf extension)
    • Add functionality for full data export
    • Enhance icons formatting for export file types (and beautify optionally using font awesome)
  2. (enh #112): Toggle data button to allow toggling between all data and paginated data.
  3. (enh #113): Enhance the PDF export generation method to allow generation of formatted reports.
  4. (enh #114): Add hiddenFromExport property for all grid columns.
  5. (enh #115): Add ability to plugin yii2-export extension for full grid data export.
  6. (bug #118): Validate if toggleGridData is used in the extension.
  7. (enh #121): Portugese translations.
  8. (enh #122): Hungarian translations.

Version 2.1.0

Date: 25-Oct-2014

  1. (enh #94): Enhance and revamp toolbar.
  2. (enh #95): Enhance export button dropdown feature.
  3. (enh #96): Grid Plugins): Add ability to replace tags in gridview rendered layout.
  4. (enh #99): Grid Export Plugins): Add ability to extend export dropdown.
  5. (enh #106): Set right class for GridView):):FILTER_DATE_RANGE.
  6. (enh #107): Cleanup and refactor GridView class code for better extensibility.
  7. (enh #111): Fix export button dropdown menu display for IE.

Version 2.0.0

Date: 14-Sep-2014

  1. (enh #80): Add hidden property for columns to be hidden from display but available on export.
  2. (bug #81): CSS class kv-grid-hide configured for hidden columns.
  3. (enh #82): Created a reusable ColumnTrait for all custom yii2-grid columns.
  4. (enh #83): Upgraded jQuery floatTheader plugin to latest version.
  5. (bug #85, #87, #88): Enhance EditableColumn to capture keys of various data types
  6. PSR 4 alias change
  7. (bug #92): Bug fix for generating multiple rows in header/footer.

Version 1.9.0

Date: 21-Aug-2014

  1. (enh #65): Various enhancements to the widget to work with Pjax
  2. (enh #67): Fix Chrome bug for displaying loading indicator on tbody.
  3. (enh #72): Enhancement for EditableColumn beforeInput and afterInput.
  4. (enh #73): Enhancement for EditableColumn options to be configured as callback.
  5. (enh #74,76): Enhance EditableColumn to allow grid refresh on successful update.

Version 1.8.0

Date: 01-Aug-2014

  1. (enh #58, #59): Russian language translation included
  2. (enh #60): Added a new EditableColumn column to the grid that uses the enhanced kartik\editable\Editable widget to make the grid content editable.

Version 1.7.0

Date: 14-Jul-2014

  1. (enh #57): Added containerOptions to grid layout for allowing configuration of the grid table container. This can be set to false to not display the container.

Version 1.6.0

Date: 10-Jul-2014

  1. (enh #54): Grid Export Enhancements
  • Ability to preprocess and convert column data to your desired value before exporting. For example convert the HTML formatted icons for BooleanColumn to user friendly text like Active or Inactive after export.
  • Hide any row or column in the grid by adding one or more of the following CSS classes):
    • skip-export): Will skip this element during export for all formats (html, csv, txt, xls).
    • skip-export-html): Will skip this element during export only for html export format.
    • skip-export-csv): Will skip this element during export only for csv export format.
    • skip-export-txt): Will skip this element during export only for txt export format.
    • skip-export-xls): Will skip this element during export only for xls (excel) export format. These CSS can be set virtually anywhere. For example headerOptions, contentOptions, beforeHeader etc.
  1. (enh #52): Upgraded float header plugin

  2. Enhanced panel footer to have a consistent height whether pagination is displayed or not.

  3. BooleanColumn icons have been setup as ICON_ACTIVE and ICON_INACTIVE constants in GridView.

  4. ActionColumn content by default has been disabled to appear in export output. The skip-export CSS class has been set as default in headerOptions and contentOptions.

Version 1.5.0

Date: 04-Jul-2014

  1. (enh #51): Enhanced GridView header and footer, to include additional headers/footers before or after default header/footer. The properties below can be set as an array or string):
    • Added beforeHeader property to configure additional header rows before the default grid header.
    • Added afterHeader property to configure additional header rows after the default grid header.
    • Added beforeFooter property to configure additional footer rows before the default grid footer.
    • Added afterFooter property to configure additional footer rows after the default grid footer.
  2. Fixes #26 to #50.

Version 1.4.0

Date: 29-Apr-2014

  1. (enh #25): Allow highlighting of selected row for a CheckboxColumn
    • Added rowHighlight property to set if a row needs to be highlighted
    • Added rowSelectedClass property to configure the CSS class for the highlighted row.
  2. Fixes #20 to #24.

Version 1.3.0

Date: 18-Apr-2014

  1. (enh #19): Gridview enhancements (export, toolbar, iframe)
    • Enable rendering of export without panel by passing {export} variable to grid layout property.
    • Enable rendering of toolbar without panel by passing {toolbar} variable to grid layout property.
    • Revamp export form to be submitted in a new window (in a non-intrusive manner)
  2. Fixes #1 to #19.

Version 1.2.0

Date: 22-Mar-2014

  1. Converted the extension into a module.
  2. Export features enhanced for use across all browsers):
    • Save displayed grid as HTML
    • Save displayed grid as CSV
    • Save displayed grid as TEXT
    • Save displayed grid as XLS

Version 1.1.0

Date: 15-Mar-2014

  1. Export features added through a brand new custom JQuery plugin):
    • Save displayed grid as HTML
    • Save displayed grid as CSV
  2. Templates to modify positioning of the export menu and the panel before and after contents
  3. Ability to display toolbar in the header.

Version 1.0.0

Date: 10-Mar-2014

Initial release