We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

SampleBrowser.SfDataGrid - compile error

Thread ID:





142968 Feb 27,2019 09:52 AM UTC Mar 4,2019 02:13 AM UTC Xamarin.Forms 3
Tags: SfDataGrid
Paul Dietz
Asked On February 27, 2019 09:52 AM UTC

Please advise on how to fix the following compile error.  Thanks

Subburaj Pandian Veluchamy [Syncfusion]
Replied On February 28, 2019 11:33 AM UTC

Hi Paul, 
Thank you for contacting Syncfusion support. 
Based on the provided information, we suspect that you have modified the sample code with the empty space in the Xaml file, so that the issue may occurs. Can you replace the following code and check, 
<?xml version="1.0" encoding="UTF-8" ?>
<paths xmlns:android="
  <external-path name="external_files" path="."/>
We have checked our DataGrid SampleBrowser working fine without any issue from our end. Can you please confirm whether you made any related changes from your side and let us know with more details if you still face issue? We will check and help you with that. 
Subburaj Pandian V

Paul Dietz
Replied On February 28, 2019 04:55 PM UTC

Copied the provide markup into the provider path file and it working now.  Although was hoping the sample code would show how to enter a new row using unbound column.  Can you provide example solution to add a new row using datagrid or do i have to use a listview?  

Pradeep Kumar Balakrishnan [Syncfusion]
Replied On March 4, 2019 02:13 AM UTC

Hi Paul, 
Thank you for your update. 
We have checked your query “How to add an row using UnBound Column” UnBound row is an row which is not in underlaying collection. And unbound column is an column is not in underlying column list. Based on this how you want to add new to datagrid. We have attached code snippet for real time update. 
Code snippet : 
// Added record in last position.
viewModel.OrdersInfo.Add(new OrderInfo(1111, "Praveen", "London", "Kumar", "NewYork"));
//Inserting Record in desired position.
//viewModel.OrdersInfo.Insert(2,new OrderInfo(1111, "Praveen", "London", "Kumar", "NewYork"));
We have attached the sample for your reference. 
Pradeep Kumar B 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon