Kendo DropDownList disabled items.

2,297 views
Skip to first unread message

René Aravena

unread,
Feb 19, 2015, 6:23:05 PM2/19/15
to wicket-j...@googlegroups.com
I try to show off items on a kendo DropDownList, but these are not disabled. However with a generic DropDownChoice this if it works. Any ideas?

Override
     protected boolean isDisabled (CtbCuenta object, int index, String selected) {
         return (object.getHijos ()! = 0);
     }

Image is a generic wicket DropDownChoice con css class="k-textbox", I want to do the same but with the kendoui control.


Sebastien

unread,
Feb 20, 2015, 7:07:41 AM2/20/15
to wicket-j...@googlegroups.com
Hi,

Unfortunately this seems to be - still - not supported
http://www.telerik.com/forums/disabling-one-or-multiple-options

I tried to play a bit with the suggestion here: http://stackoverflow.com/questions/17548168/disabling-kendoui-drop-down-list-options
But kendo's dropdownlist does remove all 'option' attributes - except selected - so I don't see a way to achieve this for now..

I've added #newTemplate method in DropDownList, it will be available tomorrow with 6.19.1, if you want to give a try with the solution above using a kendo template...

Thanks & best regards,
Sebastien.


--
You received this message because you are subscribed to the Google Groups "wicket-jquery-ui" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wicket-jquery-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/wicket-jquery-ui/4d816f6d-595d-488e-aca5-ef78cb1a7c64%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Message has been deleted

René Aravena

unread,
Feb 20, 2015, 9:37:29 AM2/20/15
to wicket-j...@googlegroups.com
Ok Sebastien, will try with version 6.19.1 and your suggestion.

thx

Sebastien

unread,
Feb 20, 2015, 9:37:48 AM2/20/15
to wicket-j...@googlegroups.com
Hi René,

The way using the template will be the same as for the kendo ComboBox:
http://www.7thweb.net/wicket-jquery-ui/kendo/combobox/TemplateComboBoxPage.

If you find a solution, thanks to post it here ! :)

Thanks & best regards,
Sebastien.


On Fri, Feb 20, 2015 at 3:34 PM, René Aravena <rene.a...@gmail.com> wrote:
Ok Sebastian, will try with version 6.19.1 and your suggestion.

thx

René Aravena

unread,
Feb 20, 2015, 6:16:26 PM2/20/15
to wicket-j...@googlegroups.com
Thanks Sebastien.

René Aravena

--
You received this message because you are subscribed to a topic in the Google Groups "wicket-jquery-ui" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/wicket-jquery-ui/kG4r99yRWVM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to wicket-jquery-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/wicket-jquery-ui/CAAJwaYV7ezKFo3Muhe1q07FaZK_FKChFL0HwWnWEH1E8eGKz2w%40mail.gmail.com.

Sebastien Briquet

unread,
Feb 21, 2015, 6:06:19 AM2/21/15
to wicket-j...@googlegroups.com
Hi René,

6.19.1 has been released, and will be available in maven central shortly...

Enjoy & good luck,
Sebastien.
Reply all
Reply to author
Forward
0 new messages