How to get TextAlignment like column money in the image below in sfdatagrid for Xamarin.Android? it aligned correctly if i use sfdatagrid for Xamarin.Forms but not with Xamarin.Android
![](blob:https%3A//drive.google.com/fd12b4ff-be1a-4702-bf26-7dfd85d3f27e)
![](https://s31.postimg.org/5dg25dbx3/correct_xamarin_form.png)
this is the code i tried using Xamarin.Android:
var colMoney = new GridTextColumn()
{
Width = 131,
MappingName = "Money",
HeaderText = "Money",
Format = "#,##0.00;(#,##0.00)",
AllowSorting=true,
TextAlignment = GravityFlags.Right // GravityFlags.End
};
and this what happen for both GravityFlags.Right and GravityFlags.End:
It will be Top and Right aligned. i want to set center(vertical) and right(horizontal) like in the Xamarin.Forms
anybody can help? Thank you in advance.