Open NomanAhmed6352 opened 4 years ago
How to add or change custom control content dynamically ..I have created custom table rows and want to add or remove column and row upon user selection.
{ tag: 'div', attrs: { // style: 'background-color:red;', class: 'form-group', }, config: { //disabledAttrs: ['type'], label: 'Custom Table Rows' }, meta: { group: 'html', icon: '', id: 'html.TableRows' }, action: { add: { attr: evt => { alert(evt); // create custom control } } }, content: `
@kevinchappell
@kevinchappell can you please update ?????
How to add or change custom control content dynamically ..I have created custom table rows and want to add or remove column and row upon user selection.
{ tag: 'div', attrs: { // style: 'background-color:red;', class: 'form-group', }, config: { //disabledAttrs: ['type'], label: 'Custom Table Rows' }, meta: { group: 'html', icon: '', id: 'html.TableRows' }, action: { add: { attr: evt => { alert(evt); // create custom control } } }, content: `
@kevinchappell