[Data Grid] Column Alignment

Forge Component
(36)
Published on 17 Mar (12 days ago) by OutSystems R&D
36 votes
Published on 17 Mar (12 days ago) by OutSystems R&D

The parameter AlignId isn't exposed on the exposed columns. I realized all of the columns were using the Column webblock, and passing in Entities.Align.Center as a fixed value.
I've attached a sample OML where I expose the alignId in the TextColumn and the CurrencyColumn, so that the consumer application may specify the alignment for a given column.

Hi Pedro Neto,

You can add Alignment in AdvancedFormat of Grid Column:

"align: 'left'"
"align: 'right'"


Regards.

Pedro Neto wrote:

The parameter AlignId isn't exposed on the exposed columns. I realized all of the columns were using the Column webblock, and passing in Entities.Align.Center as a fixed value.
I've attached a sample OML where I expose the alignId in the TextColumn and the CurrencyColumn, so that the consumer application may specify the alignment for a given column.

Hi Pedro,

You can set style also from style block. In the Style block you can set alignment itself. Just select the table and switch the style tab. 


Thanks