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. Image for the cookie policy date
close icon

Datagris edit cell problems


Selam,
düzenlediğim metin kayboldu. Eğer hücreye tıklarsam, yeni veriler görüntülenir. Nasıl düzenlerim?

 

3 Replies

AY Abdülhamit Yilmaz July 9, 2019 02:47 PM UTC

reply, class structure should be such. 

public class Kisi : INotifyPropertyChanged

    {

        

        private int id { get; set; }

        private string adSoyad { get; set; }

        private string gsm { get; set; }


        public event PropertyChangedEventHandler PropertyChanged;

        private void RaisePropertyChanged(String Name)

        {

            if (PropertyChanged != null)

                this.PropertyChanged(this, new PropertyChangedEventArgs(Name));

        }


        public int Id

        {

            get { return id; }

            set { this.id = value; RaisePropertyChanged("Id"); }

        }


        public string AdSoyad

        {

            get { return adSoyad; }

            set { this.adSoyad = value; RaisePropertyChanged("AdSoyad"); }

        }


        public string Gsm

        {

            get { return gsm; }

            set { this.gsm = value; RaisePropertyChanged("Gsm"); }

        }

    }



AY Abdülhamit Yilmaz July 9, 2019 02:50 PM UTC

hi Abdulhamit, you are faster than syncfusion :D


SP Subburaj Pandian Veluchamy Syncfusion Team July 10, 2019 12:48 PM UTC

Hi Abdülhamit Yilmaz, 
  
Thank you for contacting Syncfusion support. 
  
We have checked your query and we unable to replicate the mentioned issue “Edited value is not rendered in the GridCell” from our end. We have ensured in following mentioned scenarios,  
 
·       Checked by setting both AutoGenerateColumns true or false. 
·       Editing and committing the value multiple times in GridNumericColumn & GridTextColumn. 
·       Ensured in both EditTapAction on SingleTap and DoubleTap. 
 
We had attached the tested sample for your reference, 
  
  
We had checked by using the provided model class, but the issue does not get replicated at our end.  
 
Note: Issue has been checked with Xamarin. Forms version 3.1.0.697729 and Syncfusion NuGet version 17.2.0.28. beta and in 17.1.0.53. 
  
Please check the sample and let us know if you still facing the same issue? If not, please modify the sample based on your scenario and revert us with the more details, so that it will be helpful for us to check on it and provide you the solution at the earliest.  
  
Regards,
Subburaj Pandian V 


Loader.
Live Chat Icon For mobile
Up arrow icon