Oct
16
accepted Extending kendoGrid with additional constructor parameter
Oct
16
comment Extending kendoGrid with additional constructor parameter
Yes, this works like a charm! I don't even have to rephrase the constructor to kendoMyGrid - the default kendoGrid still works.
Oct
16
awarded Notable Question
Oct
16
awarded Notable Question
Oct
15
comment Extending kendoGrid with additional constructor parameter
Thanks moomoo! At this very moment I'm unable to test the code, but I appreciate your answer. Looking at it, my concern would be - is the change event of dataSource intercepted and stopped or does it propagate so the user can still assign it their own handlers in the constructor?
Oct
14
comment Scroll by a "pageful" in JavaScript
I have attached a screenshot to illustrate the problem.
Oct
14
revised Scroll by a "pageful" in JavaScript
added 568 characters in body
Oct
14
asked Scroll by a "pageful" in JavaScript
Oct
13
awarded Popular Question
Oct
11
asked Extending kendoGrid with additional constructor parameter
Aug
15
awarded Nice Question
Aug
11
awarded Yearling
Aug
9
reviewed Approve suggested edit on creating and theming register form in drupal 7
Jul
24
comment AngularJS: how do I code an element directive with optional attribute parameters?
scope.linked = typeof attrs.linked != 'undefined'; works better for a flag property
Jul
24
comment AngularJS: how do I code an element directive with optional attribute parameters?
Nope :) That's what I've been through. You want a single negation of attrs.linked only. The mere presence of the attribute/property means its value is undefined which, when double-negated, leads to false. But thanks anyway!
Jul
24
accepted AngularJS: how do I code an element directive with optional attribute parameters?
Jul
24
comment AngularJS: how do I code an element directive with optional attribute parameters?
Yep, now it works. I will however peruse to find a way convert the attribute into a flag.
Jul
24
comment AngularJS: how do I code an element directive with optional attribute parameters?
Thanks @Alp. The property linked doesn't seem to get ever evaluated to true. I tried with '@' as well to no avail. Anyway, I now see how the conditional is approached, I might have been ineffective in mine because I didn't consider introducing interim <span> to hold the logic.
Jul
23
asked AngularJS: how do I code an element directive with optional attribute parameters?
Jul
2
awarded Inquisitive
1 2 3 4 5