Visual C++ Programming [Archive] - Page 823 - CodeGuru Forums:: Help Me - Displaying Chinese Text in Dialogs · Add controls (combo box, spinner) to menu bar Setting COM object to NULL causing strange refresh behavior http://www.codeguru.com/forum/archive/index.php/f-7-p-823.htmlHOME | I have a working ComboBox that reads JSON data from a script in an EditorGrid.
The grid renders properly and the combobox also is able to load the data from the store.
However, upon clicking on the combobox, the default value in the combobox becomes something like
Bookmarks:: NET Data-Table Editor Grid Control for ASP.NET · Telerik Spell Check .. Advanced debugging tips and stuff you never knew about the Find combo box http://www.shitalshah.com/bookmarks.htmlHOME | Martial Arts | Career Management | Home Business | Remodeling :: Can anyone tell me some strange/amazing science things you can think of relating to any branch of science? Thankyou in advance MaryThe Human Race could be http://mercialleasing.com/HOME |
I have posted one solution in
http://extjs.com/forum/showthread.php?t=29945&highlight=EditorGrid+ComboBox+%26lt%3Bdiv+class ExtJs Extender Controls - Discussions:: The error es in ComboBox javascript in this part (this. post: alsaleem wrote: I tried the grid control with dir="rtl" and shows strange behavior! http://www.codeplex.com/ExtJsExtenderControl/Thread/List.aspx?ViewAll=trueHOME |
What you are seeing is the "standard" action for a ComboBox in an EditorGrid. This happens because the EditorGrid has a "blank" value set which includes the HTML fragment that you're seeing to display the grids cell properly. When you first edit an empty ComboBox (one that hasn't had a value selected yet), the HTML fragment shows, not a nice blank input area as we'd expect. This isn't new, it's been happening ever since V 1 that I've seen, and it just seems to be accepted.
The way that I've had to get around this is by extending the ComboBox class to get rid of the HTML when there's no value. It's not that hard, and is a bit of a pain, but it's the only way that I could get around it.
The way that I've had to get around this is by extending the ComboBox class to get rid of the HTML when there's no value. It's not that hard, and is a bit of a pain, but it's the only way that I could get around it.
hmm can you show me how to do that?
Perhaps you wil be kind enough to post some sample code?
Where's The Advantage In Windows Genuine Advantage?
Stocks Bounce After S&P Joins Bear Market
|