vendredi 8 mai 2015

Dojo filtering widget data overflow

I'm working on dojo 1.6 and I use a dijit.form.Select widget. The problem I'm facing now is when I select a long text from the dropdown, it goes beyond the width of the widget. I want the string to be enclosed in the width allotted to the widget. I tried using the overflow: hidden attribute but it is not working. Please help. Here is the code segment which I'm working on.

        this.dapNAME = new dijit.form.Select({

            name            : "NAME",
            placeHolder     : 'Enter Name',
            maxHeight       : -1,
            style           : {width: '265px'}
        }, this.dapNAME);

Aucun commentaire:

Enregistrer un commentaire