1.5.0 - 1.5.3

Changes

  • Support Promise/A in controller methods
  • Add onPageChanged callback fired when current grid page index is changed
  • Add 5 new locales: Japanese, Chinese, Georgian, Turkish, German, Hebrew
  • Add onInit callback fired on the grid creation
  • Add jsGrid.version static field to get current lib version

Fixes

  • Incorrect validation for grid with hidden fields
  • Improve styling to be able to put tables inside jsgrid w/o styling clashing
  • Fix reset api method incorrect behavior for pageLoading:true scenario
  • Fixed critical rendering bug: fields with undefined or null values where incorrectly passed to the template function
  • Fix noDataContent cell styling
  • Fix editRowRenderer
  • Fix rendering itemTemplate instead of editTemplate when editing is disabled
  • Set Default filterValue for number field to undefined instead of 0
  • Fix ‘validate=required’ for number fields
  • Prevent item changing when updateItem failed
  • Prevent grid from shrinking on refresh when width=auto

1.4.0 - 1.4.1

Changes

  • Support built-in data validation
  • Support localization. 4 locales provided: fr, es, pl, ru.
  • Add onItemEditing callback
  • Add readOnly property to text, textarea, number, and select fields

Fixes

  • Alignment in editing, inserting and filtering row
  • Include jsgrid.validation.js to main script
  • Getting nested json field value

1.3.0 - 1.3.1

Changes

  • Add method fieldOption(fieldName | fieldIndex, optionName, [optionValue]) to be able to change field options
  • Add field option visible to be able to hide/show fields
  • Add method rowByItem to get row element by item
  • Support nested fields with dot-notation fields: [ { name: "client.name", ... } ... ]
  • Ability to set empty field title with the config { title: "" }

Fixes

  • Fix loadIndication option
  • Handle updateOnResize option changing

1.2.0

Changes

  • Add new option pagerRenderer to be able to specify renderer function for custom pager
  • Hide unnecessary pager buttons instead of not rendering them (to be able to show missing buttons in case of custom pager scenario)
  • Add getSorting method to be able to get current grid sorting
  • Now onDataLoading, onItemInserting, onItemUpdating, and onItemDeleting allow to cancel operation setting args.cancel = true (could be used for validation purposes).

Fixes

  • onItemUpdated doesn’t return the updated row but the updating one
  • String sort strategy for number issue
  • Filter with static data exception
  • Fix changing load strategy on the fly issue

1.0.0 - 1.0.1

Initial Release

Fixes

  • Select field accepts items with string value field
  • Method deleteItem removes data when items specified with option data
  • Using field.cellRenderer function