post #1 of 1
Thread Starter 
Part of my job is working extensively with Kendo UI for a number of internal web applications. Overall, I love the framework and have written a number of extensions/helpers to enhance their functionality. The biggest problem I had, however, was grabbing the objects themselves... Not that it was hard, but it was a PITA relying on the magic strings!

So, I thought I would share a bit of one of my helpers-

http://jsfiddle.net/YaXFT/13/

Basically, it works by doing this
Code:
$.k("#ddValues")
instead of
Code:
$("#ddValues").data("kendoDropDownList")

Its a minor helper, but it has helped me so much in terms of avoiding fat fingering my code ><<br />
I know a lot of that issue can be avoided by putting the drop down into a variable, but I have another extension that uses a custom selector that works insanely fast and really avoids any performance issue associated with re-selecting the object.

Thoughts?
    
CPUMotherboardGraphicsRAM
Phenom II X6 1055T Asus M5A97 EVO 2 x Radeon 5870 2x4GB, 2x8GB 
Hard DriveHard DriveOSMonitor
120GB SSD 500GB WD 7300RPM x 2 Windows 7 Pro x64 2 x 23" Dell IPS 
PowerCase
750w OCZ A Desk 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
Phenom II X6 1055T Asus M5A97 EVO 2 x Radeon 5870 2x4GB, 2x8GB 
Hard DriveHard DriveOSMonitor
120GB SSD 500GB WD 7300RPM x 2 Windows 7 Pro x64 2 x 23" Dell IPS 
PowerCase
750w OCZ A Desk 
  hide details  
Reply