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
245
Problem with Selected.Rows and AfterRowActivate
posted

I am using AfterRowActivate event to do things when a data row is selected. 

In the grid, it's OK to select more than 1 row by holding the Ctrl key and left mouse click the row header.

The problem is, when AfterRowActive is fired, the ActiveRow is not included in the Selected.Rows collection.  Can you advise how to fix this issue? Thank.

BTW, I dont want to use AfterSelectChange because I'm only interested in the data row changes

Parents
No Data
Reply
  • 469350
    Offline posted

     I'm not sure I understand your question. Active and Selected are two different things. You could select the ActiveRow if you want to in code, but I'm not really sure that's what you are asking for here. 

Children
No Data