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

Problem deleting selectedRecords

Hi There I hope someone can help me
For some reason when I select lets say 10 items in my grid. And I then delete those records by using  
then the first 8 records would delete correctly but the last 2 selected records would jump down a few rows to some other records and delete those records 

Can anyone help please 

1 Reply

PM Piruthiviraj Malaimelraj Syncfusion Team October 7, 2016 07:29 AM UTC

Hi Pierre, 
Thanks for using Syncfusion products. 
We had analyzed your query. We suspect that you are using BindingList datasource. If you are using BindingList datasource in your application, ListChangedEventHandler must be triggered with ListChangedType as ItemDeleted in RemoveAt() method of IBindingList. Please make use of the below code, 
Code example 
public event System.ComponentModel.ListChangedEventHandler ListChanged; 
public void RemoveAt(int index) 
    RaiseListChanged(ListChangedType.ItemDeleted, index); 
void RaiseListChanged(ListChangedType type, int index) 
    if (ListChanged != null) 
        ListChanged(this, new ListChangedEventArgs(type, index)); 
Sample link 
KB link 
If you are using any other datasource, can you please provide the simple sample. So that we can provide solution at the earliest. 
Please let us know if we misunderstood anything. 

Live Chat Icon For mobile
Up arrow icon