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: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to make a DataGrid editable

Thread ID:





129070 Feb 24,2017 10:41 AM UTC Mar 2,2017 10:21 AM UTC WinRT 3
Tags: SfDataGrid
Muhammad Mobeen
Asked On February 24, 2017 10:41 AM UTC


I am trying to make data grid editable but failed. I have following property class.

 public class ProcedurePerformed
        public int ID { get; set; }
        public string CASEID { get; set; }
        public string PROCEDUREPERFORMED { get; set; }
        public DateTime PROCEDUREDATE { get; set; }
        public string COMPLICATION { get; set; }
        public bool IsAlreadySaved { get; set; }

I just want to show three properties (PROCEDUREPERFORMED , PROCEDUREDATE , COMPLICATION ) in datagrid and want to edit them in grid.
where PROCEDUREPERFORMED should input through Dropbox, PROCEDUREDATE should input through DatePicker, and COMPLICATION through TextBox .


Gnanasownthari Thirugnanam [Syncfusion]
Replied On February 27, 2017 09:58 AM UTC

Hi Muhammad, 
Thank you for contact Syncfusion Support. 

We have analyzed your query, you can achieve your requirement “data grid editable” by setting SfDataGrid.AllowEditing as true for SfDataGrid or editing particular column by setting GridColumn.AllowEditing as true like below code example. 
<syncfusion:SfDataGrid x:Name="grid"  
                               DataContext="{StaticResource dataContext}" 
                               ItemsSource="{Binding OrderInfoCollection}"> 
                <syncfusion:GridTextColumn HeaderText="COMPLICATION" MappingName="COMPLICATION" AllowEditing="True"/> 
                <syncfusion:GridComboBoxColumn ItemsSource="{Binding Companies, Source={StaticResource dataContext}}" MappingName="PROCEDUREPERFORMED" /> 
                <syncfusion:GridDateTimeColumn MappingName="PROCEDUREDATE" /> 

We have prepared the sample for your requirement, you can download the same from below mentioned location. 

Sample location: 

You can refer the below UG ink.  

Gnanasownthari T. 

Muhammad Mobeen
Replied On March 1, 2017 06:39 AM UTC

Respected Gnanasownthari T. ,

Thanks for your support. It really helpful for me. Now I am out of bottleneck.

Thanks  :)

Balamurugan Rajaraman [Syncfusion]
Replied On March 2, 2017 10:21 AM UTC

HI Muhammad, 
Thanks for the update.

Please let us know if you need further assistance on this. 


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