Dynamic Array Of Data Condition Format

How do I apply conditional formatting to Wijmo Flexgrid with dynamic number of columns and column names. For example:

Array columns will be changed every week and column name is also changed weeky. It is the date value such as 05/12/2017 instead of Week1, Week2, … etc…

Each week generated, the number of column in array may increase or decrease.

Thank you very much.