sebfz1 / wicket-jquery-ui

jQuery UI & Kendo UI integration in Wicket
http://www.7thweb.net/wicket-jquery-ui/
Other
92 stars 58 forks source link

DropDown column datatable #301

Closed mauromar09 closed 5 years ago

mauromar09 commented 5 years ago

i use inline edit and works fine, but i doesn't find a column component inline editable for dropdownchoice or can you help me with a example.

sebfz1 commented 5 years ago

I'm not sure to spot your problem, can you detail? You want an editable dropdown? (a combobox...)

mauromar09 commented 5 years ago

I’m Using Kendo datatable inline edition, I need in editable row use a dropdown combo selectable with choises! I need a Example or any ideas!

sebfz1 commented 5 years ago

Hi, sorry for the very late reply. Did you had a look at DropDownListEditor?

mauromar09 commented 5 years ago

Yes I try, but isn’t a Icolumn, pelase can you give me a example how yo use in a column?

El El lun, 10 dic. 2018 a las 06:19, Sebastien Briquet < notifications@github.com> escribió:

Hi, sorry for the very late reply. Did you had a look at DropDownListEditor?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/sebfz1/wicket-jquery-ui/issues/301#issuecomment-445744946, or mute the thread https://github.com/notifications/unsubscribe-auth/AVkuNfARtJTB9w3UauOBY053Zp0ldcI4ks5u3icIgaJpZM4Y8vpu .

sebfz1 commented 5 years ago

It's the editor to be used by the column in edit mode, you just have to specify it like:

new PropertyColumn("myDD", "dd", 150) {

    @Override
    public IKendoEditor getEditor()
    {
        return new DropDownListEditor(new String []{"myvalue-1", "myvalue-2"});
    }
}