I have an unbound column with a CellButton
When I click the cellButton I want that Row to become automatically the active row and use the Id of the row to do some stuff.
Unfortunately, the activerow is not always the row of the clicked button.
Any ideas ?
Hi Fred,
Are you sure you are using the correct event? If you are trapping ClickCellButton and you are getting the wrong row, then that's clearly a bug. Can you duplicate this in a small sample project and post it here so we can check it out?
My problem must me in the way i set up the grid.
It a readonly grid... the cell button has cellactivation set to rowselect... as well the clickcell for the entire row.
if dont click the row to be selected and then click the button, i still get whatever row was selected before i clicked the button
Hello,
I have test this out and I am able to get the right row every time when I click on a row like the following:
private void ultraGrid1_ClickCellButton(object sender, Infragistics.Win.UltraWinGrid.CellEventArgs e) { int index = e.Cell.Row.Index; }
Please let me if you have any further questions on this matter.
Sincerely,
Danko
Developer Support Engineer
Infragistics
www.infragistics.com/support