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
60
Overcoming quirk in ultragrid
posted

Hi, I have a situation with using the ultragrid that is upsetting our users a lot.  I have partially fixed, but really there yet.

We have setup autocomplete so that if a cell has existing values they appear as autocomplete options that filter down as the user types (works very nicely), however we have a scenario that crops up a lot that goes wrong:

Say we have an existing value like 1234A but want to type a new the new value 1234a then after typing 1234a and clicking away from the cell or pressing TAB and so on the the cell value gets set to 1234A.  Making it impossible to enter the lower case a as desired.

I have partially fixed by using:

                        col.ValueList = vl;

                        col.AutoSuggestFilterMode = AutoSuggestFilterMode.StartsWith;
                        col.AutoCompleteMode = Infragistics.Win.AutoCompleteMode.Suggest;
                        col.AutoEditMode = DefaultableBoolean.False;

This kind of works, as the correct value gets saved to the database - but appears to have failed as the call shows 1234A

Regards,
Jonathan