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
215
UltraGrid ColumnStyle.EditButton text entered with keyboard
posted

Hi,

I'm working on a UltraGrid with a column style set on EditButton.  Here is what I did in the InitializeLayout event:

band.Columns[0].Style = Infragistics.Win.UltraWinGrid.ColumnStyle.EditButton;
band.Columns[0].ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.Always;
band.Columns[0].CellButtonAppearance.Image = imageList.Images["EditButton"];

Everything is looking great, but I'm only able to edit the value by clicking on the cell button to call a popup form and cell the value on the close of the form.  But I would like to also allow the user to enter a value from keyboard without having to click on the edit button.

Is it possible and how can I achieve this?

Thank you. 

Parents
  • 215
    Verified Answer
    Offline posted

    Sorry, my bad...  

    I was deactivating the edit capability in the InitiateRow event by changing the style to:

    template.Cells["CharFrom"].Style = Infragistics.Win.UltraWinGrid.ColumnStyle.FormattedText;
    template.Cells["CharTo"].Style = Infragistics.Win.UltraWinGrid.ColumnStyle.FormattedText;

    It is fixed now,
    Thank you.
Reply Children
No Data