Hi, I am working on Xamarin IOS DataGrid and I am trying to set the width of grid columns programmatically.
I am setting therefore in code the width of a grid column to 25 points, like:
SDataGridColumn UD = new SDataGridColumn("U", "UD"); UD.Width = NSNumber.FromInt32(25);
However on display the width of the column is not 25 points but much wider. I have also tried to set the grid default column properties to something smaller like, this was taken from a similar forum topic:
this.FFADataGrid.DefaultColumnWidth = NSNumber.FromInt32(20); this.FFADataGrid.MinimumColumnWidth = NSNumber.FromInt32(20);
but also this does not work. Can you please let me know how I can correctly set the required column width?