github grid-js/gridjs 2.0.0

latest releases: 6.2.0, 6.1.1, 6.1.0...
4 years ago

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

Don't miss a new gridjs release

NewReleases is sending notifications on new releases.