ButtonGroup with DatePicker

2 posts, 0 answers
  1. Alexandru
    Alexandru avatar
    3 posts
    Member since:
    Sep 2012

    Posted 02 Jul 2013 Link to this post


    I know ButtonGroup was not made  to hold any DatePickers, but is there a workaround to make it look ok?
    The buttons get a little bit huge after initializing the DatePicker, and the DatePicker itself inherits some styles and doesn't look as it supposed to.
    In ScrollView No2 is what I'll use instead of ButtonGroup, but it's not that pretty.

    Thank you!
  2. Kamen Bundev
    Kamen Bundev avatar
    1532 posts

    Posted 03 Jul 2013 Link to this post

    Hello Alexandru,

    Yes, the ButtonGroup is not supposed to hold other Widgets, so this is not an officially supported scenario. I can give you a hint though - set an ID on the button that holds the DatePicker and use it to override the padding, font-weight and maybe the background. However as this is not officially supported, if the override or the nesting breaks the ButtonGroup or the DatePicker behavior - we can't help you with that.

    Kamen Bundev
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top