Skip to content

0.7.0

Compare
Choose a tag to compare
@budnix budnix released this 15 Oct 10:41
· 64 commits to develop since this release

Major changes:

  • Attributes defined in camelCase style will no longer be supported.

    <!-- Before: -->
    <hot-table datarows="db.items" contextMenu="true" minSpareRows="minSpareRows" readOnlyClassName="'read-only'">
      <hot-column data="id" readOnly title="'ID'"></hot-column>
      <hot-column data="isActive" title="'Is active'" type="'checkbox'" width="65" checkedTemplate="'Yes'" uncheckedTemplate="'No'"></hot-column>
    </hot-table>
    
    <!-- After: -->
    <hot-table datarows="db.items" context-menu min-spare-rows="minSpareRows" read-only-class-name="'read-only'">
      <hot-column data="id" read-only title="'ID'"></hot-column>
      <hot-column data="isActive" title="'Is active'" type="'checkbox'" width="65" checked-template="'Yes'" unchecked-template="'No'"></hot-column>
    </hot-table>
  • From now Handsontable hooks (callbacks) are available with on- prefix.

    <!-- Before: -->
    <hot-table datarows="db.items" afterInit="afterInitFn" afterRender="afterRenderFn">
      <hot-column data="id" readOnly title="'ID'"></hot-column>
    </hot-table>
    
    <!-- After: -->
    <hot-table datarows="db.items" on-after-init="afterInitFn" on-after-render="afterRenderFn">
      <hot-column data="id" read-only title="'ID'"></hot-column>
    </hot-table>

Changes:

  • Fixed IE problem while using context menu (#112)
  • Fixed problems with afterChange hook which was triggered twice on data change (#106)
  • Fixed Infinite $digest Loop (#114)
  • Added support for 'handsontable' cells type (#115)
  • Updated to Handsontable 0.19.0