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
555
Removing Selected rows from UltraGrid
posted

Hi

I am trying to remove selected rows from Ultragrid on button click event.  Pls find below code.

 

 

 

 

 

 

if (this.ultragrid1.Selected.Rows.Count > 0)

 

 

{

 

 

  this.ultragrid1.Selected.Rows.AddRange((UltraGridRow[])  this.ultragrid1.Rows.All);

 this.ultragrid1.DeleteSelectedRows(false);

 

 

}

but i m getting vshost.exe error while running it.  What is the reason for this error and how can i achieve removing selected rows from UltraGrid.  If what i m doing is wrong, please provide alternate solution.