0
votes

All,

I am trying to use syncfusion data grid in xamarin forms now.I have installed trial version as of now. I have created demo from this link

All is fine.I have added all references,no errors at all. but it doesn't shows the datagrid in output( i am using vs inbuilt emulator).it just shows the blank screen like this

I couldn't find anything wrong what I have done in my code from above link.its really simple but still why I am not getting output.please help.

Thanks in advance

1
You should also add SfDataGridRenderer.Init(); method in required places. - eakgul
isnt it is only fro ios and android.in article there is not mentioned we need to ad it in android also..and if yes then in which file do i add? - Neelam Prajapati

1 Answers

4
votes

If you load SfDataGrid directly as a child, the grid will be loaded. If you want to load SfDataGrid inside a ScrollView or a StackLayout, refer the below UG link to achieve it,

https://help.syncfusion.com/xamarin/sfdatagrid/getting-started#launching-the-sfdatagrid-inside-a-stacklayout

Also, you can refer our KB link below to achieve your requirement.

https://www.syncfusion.com/kb/6169/how-to-load-sfdatagrid-in-a-stacklayout

If you need further assistance, please create a new support incident, using our direct trac system.

https://www.syncfusion.com/account/login

-Divakar