Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
466
How can i correctly remove rows from binded DataTable?
posted

Hello!

I have a DataTable object, and it binded to xamDataGrid component with this code:

xamDataGrid1.DataSource = MainTable.DefaultView;

When I remove some rows from MainTable, it remains visible in xamDataGrid1, but without any data - just empty lines. When I scroll to their, I can see large lags. Maybe I should call some invalidate method for xamDataGrid1? What is his name?

Thanks for helping and sorry for my bad english.

Parents
  • 27093
    posted

    Hello,

     

    I have been looking into your issue and tried to reproduce it to no avail. When using the DataTable.Rows’ Remove or RemoveAt methods the XamDataGrid decreases its records count removing the appropriate one instantly. I was wondering if you could attach an isolated sample reproducing this behavior, which I can look into and probably resolve.

     

    Thanks in advance. Looking forward to hearing from you.

     

    Sincerely,

    Petar Monov

    Developer Support Engineer

    Infragistics Bulgaria

    www.infragistics.com/support

     

Reply Children