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
280
Clear selected rows from an external event
posted

Hi,

I was trying to clear the selected rows of an ultragrid from an external sub (inside the same from).

I already read the forum (mainly http://www.infragistics.com/community/forums/t/26429.aspx) and i tried with several different attempts, but nothing is working.

Here you are what I tried with no effects (alternative attempts):

   GridReports.DisplayLayout.Override.SelectTypeRow = SelectType.None

   GridReports.ActiveRow.Selected = False

   GridReports.ActiveRow = Nothing
   GridReports.DisplayLayout.Override.ActiveRowAppearance.Reset()

   GridReports.SyncWithCurrencyManager = False
   GridReports.DisplayLayout.Override.RowSelectors = DefaultableBoolean.False

   GridReports.DisplayLayout.Override.ActiveAppearancesEnabled = Infragistics.Win.DefaultableBoolean.False

   GridReports.Refresh()   'In order to refresh the grid
  

What is missing?

Many thanks

Alberto

Parents Reply Children