309
Views
2
Comments
[OutSystems Data Grid Web] Column Alignment
outsystems-data-grid-web
Web icon
Forge asset by OutSystems

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.

WPPDataGridComponent.oml
2020-10-19 05-14-26
Huyen IT

Hi Pedro Neto,

You can add Alignment in AdvancedFormat of Grid Column:

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


Regards.

2020-01-08 12-23-57
Jitender Gaur

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 

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.