I have a grid that has a lot of information. I want to add a button that will put the cursor in the add row on my grid. How can I do this?
Hello Apalcer,
Assuming that you are using TemplateAdd Row in your UltraGrid control, and you would like to enter edit mode in the first cell on it, when you press some UltraButton that is placed on the form, you could do so in the Click event of the UtlraButton like:
private void ultraButton1_Click(object sender, EventArgs e) { ultraGrid1.Focus(); ultraGrid1.Rows.TemplateAddRow.Cells[0].Activate(); ultraGrid1.PerformAction(Infragistics.Win.UltraWinGrid.UltraGridAction.EnterEditMode); }If you have any other questions please feel free to let us know.