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
1390
Selected row vs active row
posted

Hi,

When I run my app for the first time, the first row of the grid is highlighted. I'm trying to display a right click context menu in the grid MouseDown event and need to determine if I have multiple rows selected or one row selected. When I right click, it shows the ActiveRow is set to the first row, but Selected is false. I've looked around and can't find a good explanation of active row vs selected row. Can you explain the difference? When I first display the grid, do i need to set Selected = true for the first row? Does setting Selected to true also set the row as the ActiveRow?

thanks

Mario

Parents Reply Children
No Data