HI :
when i click UltraGrid by LeftMouseButton the clickedrow will be active;
but click UltraGrid by RightMouseButton cant set the clickedrow active;
what should i do to let RightMouseButton-set-the-clickedrow-active work?
THANK YOU !
The grid does not activate/select rows on a right-click, so you would have to code it yourself. You can handle MouseDown, use UltraGrid.DisplayLayout.UIElement.ElementFromPoint to get the UIElement at the cursor position, then call GetContext off that element with a type of UltraGridRow; this will return the row at the cursor position if there is one. You can then use the row's Activated and Selected properties (they are settable) to activate/select the row.