Hi to you all.
I'm trying to make some sort of "text changed" javascript function for the WebCombo. I'm repopulating the Web Combo using my own Ajax function but I have to call this only when the text in the editable part of the web combo has changed. Since my WebCombo is an editor for an UltraGridColumn, I'm thinking of handling the BeforeEnterEditMode and BeforeExitEditMode handlers for the cell to check what was the text from the combo before entering to edit it and what it is after, in order to see if it's been changed. Anyway, I'm having some trouble to find the property or method that allows me to get the Displayed Text in the WebCombo to store it and compare it later when exit editing.
Is there a way to do thig, to get this text? Should I think of another way to get this "text changed" functionality? Any suggestions?
Thanks a lot.
So I found the answer by searchin through the forums a little bit more. Found this line in a sample posted in the forums combo.setDisplayValue(displayText); and I figured there should be the get method as well..
What I'm doing is to store the value rendered to the webCombo in the AfterEnterEditMode function and I compare it to the value the combo has when the BeforeExitEditMode event es fired. This seems to be working just fine.