Adding setColumnAlignment method for setting column alignment.