Due to the following code in infragistics.ui.combo.js method _updateFromList, it is impossible for a user to select a value from a combo editor column where the value is an empty string:
if (txt.length > 0 || zero) { this._onChange(e, 2, txt); }
Setting the value to blank is not acceptable due to the fact that this is a different value than empty string.
Hello Karl,
Can you please provide me with a sample, demonstrating this behavior, as I am so far unable to reproduce it?
Thanks.
Hi,
I'm just following up to see if you have managed to resolve your issue.
No, I haven't and I don't have time to create a standalone solution. All you need to do is have a combo as an editor in a grid column and add two items to it, one that has an empty string as whatever you use for the value key. You won't be able to select this item after having selected another item due to the code that I showed in the original problem report.
Hello,
I am attaching a sample replicating your scenario. The issue is not reproducible in this sample, so please modify it to demonstrate the behavior you are experiencing and send it back, so I can investigate it.
Thank you.
The main difference is that we are using the following settings in the updating feature:
enableAddRow: false, enableDeleteRow: false, showDoneCancelButtons: false, editMode: "cell",
Thank you for the feedback. If you need more assistance regarding this matter, please feel free to contact us.
Sincerely,
Tsanna
I can confirm that I fill my combos in the grid with a select list that contains the first item with a value of "" and a text of "<--Enter-->" and it works on all my grids and combos outside of the grid as well.
We're still following your case. Have you been able to resolve the issue? If you need more assistance, please feel free to contact us.
Hi Karl,
I tested the same example with your settings for the Updating, but still I am not seeing the error. Is there anything else I need to change in the sample?