Posted 27 October 2020, 9:23 am EST
I am tring make that restore layout work it whit celltemplate.
I implemented in this format
<wj-flex-grid-column
:allow-merging="false"
:width="140"
:header="$t('tableColumns.obsCancelado')"
:cell-template="celltemplate"
align="left"
binding="ce120_ds_observ"
/>
...
...
data: function () {
...
celltemplate: CellMaker.makeButton({
text:'<b>${item.ce120_ds_observ}</b>',
click: (e, ctx) => {
this.abreObservacao(ctx.item.ce120_ds_observ)
}}),
...
it works when the grid open the first time but when i restore, the celltamplate dont apply.
i tried make also
<wj-flex-grid-cell-template>
but the result is same.Celltamplate - Restore layout.zip