This is a migrated thread and some comments may be shown as answers.

Drop "up" list?

1 Answer 265 Views
DropDownList
This is a migrated thread and some comments may be shown as answers.
Kenneth Jamieson
Top achievements
Rank 1
Kenneth Jamieson asked on 09 Apr 2012, 08:35 PM
Hey all,

I need to open the list "up" all the time, not just when the widget feels there is not enough room below itself. 

Any suggestions?

Ken

1 Answer, 1 is accepted

Sort by
0
Kamen Bundev
Telerik team
answered on 12 Apr 2012, 08:39 AM
Hi Kenneth,

This functionality is not supported in the Q1 2012 release, however in later internal builds we exposed the DropDownList Popup options upon the list initialization. With it, you can easily force the DropDownList to open always up ( though screen boundary detection will come into effect if there's not enough space. To do this, download the latest internal build and use this DropDownList initialization:
$("#dropdown").kendoDropDownList({
    popup: {
        position: "bottom left",
        origin: "top left"
    },
    animation: {
        open: {
            effects: "slideIn:up"
        }
    }
});


You'll have to adjust the styles a bit.

Kind regards,
Kamen Bundev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
DropDownList
Asked by
Kenneth Jamieson
Top achievements
Rank 1
Answers by
Kamen Bundev
Telerik team
Share this question
or