Altering Column Styles
I am trying to get the column index and then align everything in that column to the left. I am doing it based on a double-click of any cell in the column. I have tried this below, but it did not work. The variable CIndex is giving the right index for the column, but obj.getColumnTemplate(CIndex).setStyle("text-align", "left"); does not seem to work.
Any suggestions??
Column Alignment:
function AlignLeft() {
var x=event.screenX;
var CIndex = getHeaderIndexAt(x);
obj.getColumnTemplate(CIndex).setStyle("text-align", "left");
}
Any suggestions??
Column Alignment:
function AlignLeft() {
var x=event.screenX;
var CIndex = getHeaderIndexAt(x);
obj.getColumnTemplate(CIndex).setStyle("text-align", "left");
}
Anthony
September 28,