Hi, i want to do something like this in typescript:
class ViewModel extends kendo.data.ObservableObject { constructor(values) { super(values); super.init(this); } get property1() { return super.get('property1'); } set property1(value) { super.set('property1', value); }}and use like so
var vm = new ViewModel({property1: 'default value'});kendo.bind($("#something"), vm);vm.property1 = 'updated value';
The problem i have is that in the ViewModel class, the get/set methods lead me to a stack overflow situation when the object is bound.
The call to super.get('property1') winds up calling an expression method that looks like d.property1 which winds up back in my call to the getter for property1, and around and around we go.
Any way around this? Basically, what i want is an ObservableObject that has the various bound properties expressed as get/set members that can be validated at design time, without have to use the ObservableObject's get/set methods that use the property name as an argument.
Make sense?
Any suggestions?
Thanks.
roger
​
Hi,
We are using a pie chart in our mobile app. While the chart itself looks great, once we add labels to it the result does not fit to the mobile screen. This is obvious since we have long labels.
So we tried to set the chartArea width to be smaller, hoping that by this the pie itself will be smaller and more space will be available to the series labels. However as we found out, changing the width resulted with the labels being truncated according to the allocated space. We looked for an attribute to set the overflow of the labels so it will not be hidden but did not find such. We also tried to change the rendered svg overflow from hidden to visible but again it did not work and the labels remain truncated.
An example of our trial is available in the following dojo: http://dojo.telerik.com/OTOlu/2
Even though you can see it in "Web", the problem will be better understood when setting the dojo platform to "iOS 7".
Can you advise us how we can get the labels completely visible in this case?
Thanks,
Ron.
Need to know if Select All Check box feature is available in Kendo grid.
By below thread of 2013, i got clarity like that feature is not available.
http://www.telerik.com/forums/-select-all-checkbox-inside-the-kendo-grid---not-working
But just want to know if any option still exists.
Hello,
I'm using the scheduler component (2015.1.408, option mobile st to true) within a cordova android project. The app is running fine except that creating and editing events (trough tapping on the respective areas within the control) doesn't work as expected. Tapping seems only to work "occasionally" - i.e. I need to tap several times to open the event editor. This behaviour seems to be some sort of general problem as the scheduler demos show the same behaviour.
Am I missing something or is this a known issue?
Any workarounds?
Many thanks in advance for all comments.
Regards,
Chris
Hi there,
I need a hand on how to achieve this. I have a page with a dynamically loaded treeview working fine on the left, and content on the right based on the tree view node that has been clicked. When the content on the right is saved, it needs to reload both that content and the treeview - because the treeview might change based on the right content save. I'm doing a full page reload, passing through the selected treeview node ID in the URL.
On reloading, I need the selected ID node to be selected still (this is working fine), but also I need :-
- the treeview to be expanded down to that node so that the selected node is visible to the user
- to trigger the click even of that node such that the content on the right is reloaded from that event as currently
How can I achieve this? I can't find any loaded/rendered event to work with (I tried the page document.ready event but the treeview isn't available to the DOM at that point so threw an error, and also the dataBound event of the treeview but that didn't seem to trigger either, it just did nothing).
Any help would be appreciated.
Thanks, Mark
I'm consuming an OData source with two main routes: /odata/Transactions to get an overview and /odata/Transactions(ID) to get additional details. I put the overview data into a grid, and have a command in that grid to open a kendo window for details which should populate from the single entity route. *
I'm trying to solve this by using two datasources:
When I use the command button what currently happens is
I'm trying to find out why the OData response seems to go unprocessed. Any help is appreciated.
*: This is because the underlying data sources are maintained by different services. To get the extra details requires joining in tables in another database, and which database that is can vary between transactions. We would rather do this one at a time, when we know the user wants those details.
Hi,
I have a vanilla editor which does not render the toolbar correctly;
<textarea kendo-editor ></textarea>
Any ideas why this is?
Thanks,
George
Hi
Is it possible to create a column chart with more than one navigator?
if you need to compare data values from two ranges in one chart how would I go about implementing this?
Any help or pointers would be appreciated
Thank you