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?