Page 1 of 1

[VUE 2] Column headerRenderer + need to re-render

Posted: Fri Aug 12, 2022 3:31 pm
by maxd.

Hey team,

I'm using headerRenderer
It works like a charm (can add div, icons, bgColor)

Afterwards I have some data coming from outside the scheduler (real time websocket) and then I need to redraw header (clear icon, update bgColor etc..)

The easiest way for me would be to using local ref

<bryntum-scheduler-pro ref="scheduler"  v-bind="$store.state.scheduler.config"/>

Is there a possible way to achieve that ?
Sorry I read the docs, made several attempts, without success

Thanks for helping.

Re: [VUE 2] Column headerRenderer + need to re-render

Posted: Mon Aug 15, 2022 7:45 am
by tasnim

Sorry for the late response. Sure, Here is an example of how you can achieve it:

this.$refs.grid.instance.columns.allRecords[0] = 'blue';