Hi
iam using xamarin.forms and sfdatagrid.
Iam doing some testing with filling the sfdatagrid from datatable.
It is working (little slow) but i need to format the cell textAlignment.
It is center default.
I need to change the hole grid
and sometimes only some coloumns.
if i look at:
https://help.syncfusion.com/cr/xamarin/Syncfusion.SfDataGrid.XForms.GridColumn.html#Syncfusion_SfDataGrid_XForms_GridColumn_TextAlignment
it only works if i manually create the columns.
The querry iam using is dynamic so sometime theris 2 columns next time 10 columns.
Iam using this:
var table = new DataTable();
using (var da = new SqlDataAdapter(Dynamic_querry, "connection string"))
{
da.Fill(table);
}
mygrid.itemsource= table;