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.