Hello, All.
1. UltraGrid Row, MouseClick . Call Event AfterRowActivate Event
2. But, This Select Row , more MouseClick, not Call AfterRowActivateEvent
(Select / Unselect)
How to Single RowClick Event?
or UltraGrid Click Event Action Only Row? (Click Event is Call GridEmpty Panel , Grid Header )
Help me
Hello isutori,
If I understood you right, I believe that you could use the 'ClickCell' event of the 'UltraGrid' control. Something like the following code sample:
private void ultraGrid1_ClickCell(object sender, Infragistics.Win.UltraWinGrid.ClickCellEventArgs e) { //e.Cell.Row }
private void ultraGrid1_ClickCell(object sender, Infragistics.Win.UltraWinGrid.ClickCellEventArgs e)
{
//e.Cell.Row
}
The above will fire everytime you click on a cell(this guarantees that you have clicked on a row too) and you could get all the information about the row and the cell you have clicked on.
Please feel free to let me know if I misunderstood you or if you have any other questions.
I have one doubt here.
CLick cell event will eventually be reaised for left as well as for Right click also which hinders the the logic for our right click option.
Can u please tell us how to get the single row click event ?
Hi,
Use the MouseUp event.
HOWTO:UltraWinGrid Mouse Position and Row Identification
Dead link.
Try this one: https://ko.infragistics.com/help/winforms/wingrid-determining-which-row-the-user-clickedThat's for row. If you look at the Table of contents on the left, there are similar articles for Column and Cell.