Hi all,
I need to reduce the font size in my grid. Therefore I use the following code:
MyColumn.HeaderCellTextSize = MyColumn.HeaderCellTextSize.WithSize(10f); // Doesn't work!
MyColumn.CellTextSize = 10f; // Works!
HeaderCellTextSize doesn't work at all!! I can't set the font size of the header cells!
The name HeaderCellTextSize suggests that I need to provide a number, but HeaderCellTextSize is of type UIFont.
Your documentation is also very wrong (http://help.syncfusion.com/cr/cref_files/xamarin-ios/sfdatagrid/Syncfusion.SfDataGrid.iOS~Syncfusion.SfDataGrid.GridColumn~HeaderCellTextSize.html)
dataGrid.Columns.Add (new GridTextColumn () {
MappingName = "Freight",
HeaderCellTextSize = 16
});This is totally wrong as you cannot set HeaderCellTextSize to a number. But nevertheless setting it to a UIFont doesn't work either.
BTW: Your documentation mentioned above says that the default text size would be 12, that is also wrong. It is 14!
How can I set the font size of the header cells? I need to reduce it because otherwise the grid will not fit on iPhoneSE and I can't use your grid.
Regards
Michael