Table angular 6

hi i am using bpmn.js. can you give to me table data example for tableEntryFactory?
table is hidden. add entry is not working.
my example :

EntryFactory.table({
  getElements: (element, node) => {
    console.dir(element);
  }, id: 'newTable',
  labels: ['Name', 'Value'],
  description: 'sdfasdf',
  addLabel: 'Add Entry',
  show: (tst) => {
    console.dir(tst);
  },
  addElement: (add) => {
    console.dir(add);
  },
  updateElement: (update) => {
    console.dir(update);
  },

  removeElement: (element) => {
    console.dir(element);
  },
  modelProperties: ['example', 'example2']
})

can you help me?

I assume you’re referring to bpmn-js-properties-panel. Have you had a look at the project? We’re using tables in a couple of places e.g. https://github.com/bpmn-io/bpmn-js-properties-panel/blob/master/lib/provider/camunda/parts/implementation/Properties.js

1 Like