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
80
Unable to change int in edit mode
posted

Hi,

I have am UltraGrid that is bound to a Windows.Forms.BindingSource. When I click on a column that contains integers the grid enters edit mode and the cell is highlighted but I am unable to change the value.

Column.AutoEditMode = True

Column.CellClickAction = Edit

Steve

  • 960
    Offline posted

    Hello Steve Hager,


    Thank you for making a post to our forum.


    Since I don't know what kind of data source you use, I anyway tried to reproduce your issue, using a BindingSource bound to a List<T> collection, but your issue wasn't reproduced.


    I attached a sample application I'd given a try.

    Could you also verify it to see whether or not the issue is reproduced in this sample?

    Here are the steps I followed:
    1. Run the sample application.
    2. Click one of the cells of the "Age" column. -> The cell enters an edit mode.
    3. Change the value to any numeric.
    4. Hit [Tab] key to exit the edit mode.
    -> The cell's value expectedly changes to that which was entered in the step #4.


    If you can see what is necessary to reproduce your issue in the sample, could you point it out?

    8640.F120608-SampleApp1.zip