Skip to content
This repository was archived by the owner on Jun 1, 2025. It is now read-only.

Formatter Grid Options & other small Features, lots of Tests and few fixes

Choose a tag to compare

@ghiscoding ghiscoding released this 24 May 17:37
· 3209 commits to master since this release

Quick Summary

New issue templates were added, please choose & fill them in with all information (when possible), it helps in resolving the issues. New formatterOptions added to the Grid Options. A lot more Tests were added (now over 600+ tests) and coverage is rising slowly but surely (it's a big library after all).

Features

  • (editor): added option for user to select the length of autocomplete (PR #183), thanks to @loonix
  • (formatter): add grid formatterOptions to all Formatters (PR #187)
  • (formatter): add grid formatterOptions to all Grouping Formatters (PR #187)
    • both Formatters & Grouping Formatters now support negative number (displayNegativeNumberWithParentheses) wrapped in parentheses commonly used in Finance, example: -$15 can be shown as ($15)
    • the formatterOptions allows you to set a few options, in the Grid Options, that are common to a few Formatters/GroupingFormatters
    • Wiki
  • (formatters): add dateSeparator Formatter Option
  • (euro): add Euro Formatters and Sorters (day/month/year) format, (PR #190)
  • (formatters): consolidate all Date Formatters into 1 method call DRY, smaller lib footprint (PR #193)
  • (tests): add full Test Suites
    • Grouping Formatters
    • Sorters
    • Collection, GridState, Resizer Services
  • (menu): add options to exclude column titles from Menus, closes #189 (PR #203)
  • (rowDetail): add option to limit expanded row to only 1 at time, closes #194 (PR #204)
  • (copy): add excelCopyBufferOptions to grid option, ref #198 (PR #205)
  • (gridService): add "upsertItem" method to Grid Service (PR #208)

Fixes

  • (selection): syncGridSelection and preserveHidden, fixes #191 (PR #196)
  • (gridState): columnPicker & gridMenu not triggering gridState change (PR #196)
  • (rowDetail): update to latest SlickGrid version to fix scrolling (PR #202)
  • (resize): use latest Github SlickGrid version, temp fix for #207
  • (editor): dynamically adding editor column throws error, fixes #195 (PR #212)
  • (editor): integer editor was always showing invalid when null value (PR #209)