Skip to content

2.0.0

Compare
Choose a tag to compare
@afshinm afshinm released this 27 Sep 20:44
· 915 commits to master since this release
e4b564c

2.0.0 (2020-09-27)

🚀 New Feature

  • #267 BREAKING CHANGE: adding selector to columns and changing the type of ID to string (@afshinm)
  • #266 Adding nested headers (@afshinm)
  • #229 feat(td): adding custom attributes config (@afshinm)

💥 Breaking Change

  • #267 BREAKING CHANGE: adding selector to columns and changing the type of ID to string (@afshinm)

Column id field doesn't accept function anymore. Use selector field instead, e.g.:

{
  columns: [{
    selector: (row) => row.name.first,
    name: 'First Name'
  }, {
    selector: (row) => row.name.last,
    name: 'Last Name'
  }]
}

🏠 Internal

Committers: 2