How to align right the number value on data table

Hi, good day. i cannot align to the right column 2 and up.
i have this column header at data table:
Employee Code, EmployeeName, Absent, Tardy, Undertime

those absent tardy and undertime is float value. now on data table, i want to align them at the right side, unfortunately, css does not working…

and the footer as well, i want to align right

   for (var i = 0; i < this.config.columns.length; i++) {
                                this.config.columns[i].fillspace = true;
                                if (i >= 2) {
                                    this.config.columns[i].css = {"text-align" : "right"}
                                    this.config.columns[i].footer = {
                                        content: 'summColumn'
                                    };
                                }
                            }

@geraldine
if you are trying to redefine columns in onStructureLoad event
then check this
https://snippet.webix.com/v10udgmb
in other case try to call refreshColumns
https://snippet.webix.com/uwlhzbhg

thankyou @intregal you are really a big help.