Hello,
I believe the issue is that the rows are being re-rendered after the formatting of the cells.
Note there are a lot of reasons for rendering the rows again, for example changing a page, or each interaction that causes data binding.
You should apply the formatting of the cells into the rowsRendered event. In this way the cells will receive their formatting every time rows are being rendered/re-rendered.