FilteringSelect Word Wrap

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

FilteringSelect Word Wrap

Yuri Bing
This post has NOT been accepted by the mailing list yet.
I'm a newbie for dojo, and am struggling with a Word wrap issue. Please post some good ideas for adding Word Wrap style onto the FilteringSelect.

                                onClick: function(evt){
                                        this.domNode.childNodes[0].style.display = "block";
                                        this.loadDropDown();
                                },
                                onBlur: function(){
                                        this.domNode.childNodes[0].style.display = "none";
                                        this.domNode.childNodes[2].style.width = "150px";
                                        this.domNode.childNodes[2].style.height = "80px";
                                        this.domNode.childNodes[2].childNodes[0].style.height = "80px";
                                        this.domNode.childNodes[2].childNodes[0].style.width = "150px";
                                        this.domNode.childNodes[2].childNodes[0].style.whiteSpace = "normal";
                                        this.domNode.childNodes[2].childNodes[0].style.wordWrap = "break-word";
                                }

Thanks,

Yuri