DHX Grid: Setting style for column

Hi there,

How to set the style for column just like we set for cell using setCellTextStyle thru XML as well as thur API (in case of new column added dynamically)

There is no way to set style for column ( you can set it for each cell, but not to all column at once )
Through API it can be done as

grid.forEachRow(function(id){
grid.setCellTextStyle(id,ind,style);
});

Hi there,
             It can be done as:
             .hdr.rows[1].cells[j].style.border = “solid 1px gray”;   
             Where j = Column Index.
               

If you mean the “cells” of header - yes it can be done in such way, or 3rd parameter of setHeader can be used for the same goal