Programmatically Activating Loading Graphic

4 posts, 0 answers
  1. Eric J at FADV
    Eric J at FADV avatar
    17 posts
    Member since:
    Oct 2012

    Posted 25 Aug 2014 Link to this post

    For Kendo ComboBoxes (and dropDown lists) is it possible to programmatically turn on/display (and turn off) the little "loading" icon that shows in the open icon area to the right (temporarily replacing the down arrow) as it shows when doing a server data fetch.  And on a related subject: Is it possible to replace the standard down arrow  with a custom graphic, perhaps via over-riding the style?
  2. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2564 posts

    Posted 27 Aug 2014 Link to this post

    Hello,

    You can programmatically add and remove the k-loading class to the span holding the arrow icon of the DropDownList. Here is an example that shows how to do it:

    http://jsbin.com/zucuca/1/edit

    As for overriding the arrow - it currently uses a sprite background image for the icons, that you can override with CSS.

    Regards,
    Kiril Nikolov
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  3. Kendo UI is VS 2017 Ready
  4. Eric J at FADV
    Eric J at FADV avatar
    17 posts
    Member since:
    Oct 2012

    Posted 27 Aug 2014 in reply to Kiril Nikolov Link to this post

    That works, thanks
  5. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2564 posts

    Posted 28 Aug 2014 Link to this post

    Hi,

    Glad I helped.

    In case you have any further questions, please do not hesitate to contact us.

    Regards,
    Kiril Nikolov
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
Back to Top
Kendo UI is VS 2017 Ready