Example code needed to change drag hint on the fly.

3 posts, 0 answers
  1. JB
    JB avatar
    6 posts
    Member since:
    Sep 2012

    Posted 13 Dec 2011 Link to this post

    Hi All,

    I have a list of products and allowing the end user to select one product at a time and drop onto two possible locations/divs.

    Depending on the selected product (some business rules), I want to have different hint depending which location the product is dragging into.  So let say, if the product is dragging into location one, the hint can be either "dennied", a green icon, again, depending on the "current state of the product".

    So would be great if someone can provide an example of how/where to hook up an event handler to change the drag hint dynamically.


    Thanks!

    JB
  2. Nikolay Rusev
    Admin
    Nikolay Rusev avatar
    2284 posts

    Posted 14 Dec 2011 Link to this post

    Hello Jb,

    Check the following JSFiddle to see how this might be achieved.

    Greetings,
    Nikolay Rusev
    the Telerik team
    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. JB
    JB avatar
    6 posts
    Member since:
    Sep 2012

    Posted 16 Dec 2011 Link to this post

    Thanks for the example! 

    JB
Back to Top