Vue Attract: Sort/filterable table based on Vue
Initial commit implementing sortable and filterable tables for attract using Vue.
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
let RowBase = pillar.vuecomponents.table.rows.RowBase;
|
||||
|
||||
class AttractRowBase extends RowBase {
|
||||
constructor(underlyingObject) {
|
||||
super(underlyingObject);
|
||||
pillar.events.Nodes.onUpdated(this.getId(), this.onRowUpdated.bind(this));
|
||||
}
|
||||
|
||||
onRowUpdated(event, updatedObj) {
|
||||
this.underlyingObject = updatedObj;
|
||||
}
|
||||
}
|
||||
|
||||
export { AttractRowBase }
|
Reference in New Issue
Block a user