3.2.0

how to add border to a column using the api ?

how to add a column border using the api ?

At some point, I was able to do this - but it does not seem to work anymore ?

var celltmpl= this.getCellTemplate();
celltmpl.setStyle("border-right","1px solid #ccc");
celltmpl.setStyle("border-left","1px solid #ccc");
celltmpl.setStyle("padding-right","3px");
celltmpl.setStyle("padding-left","3px");

any clue?
Philippe Marzin
February 4,
var celltmpl= this.getCellTemplate(column); // note 'column' mandatory
celltmpl.setStyle("border-right","1px solid #ccc");
February 5,
Thank you, it works for a given column. The solution is to iterate on the column I want - Thanks.
Philippe Marzin
February 5,

This topic is archived.

See also:


Back to support forum