Advanced table plugin
column.attributes
object will be used for header cells (th
) as well. This might introduce some uexpected results. See https://gridjs.io/docs/examples/cell-attributes for more details.Note: Version bump only for package gridjs
columns.selector
has been replaced with columns.data
, e.g:{
columns: [{
data: (row) => row.name.first, // instead of `selector`
name: 'First Name'
}, {
data: (row) => row.name.last,
name: 'Last Name'
}]
}