Telerik Forums
Kendo UI for jQuery Forum
1 answer
377 views
Hey,
Im trying to make a column chart which has values either 0 or 1. And the problem im encountering is that in the picture i attached. I turns out the minnimum value has to be 6. Even if I do min:0 max 1 step 1 it just doesnt do the job. Please help
Iliana Dyankova
Telerik team
 answered on 14 May 2012
2 answers
119 views
Hello,

I am working on binding an upshot dataSource to a kendoGrid, using Knockout-Kendo.js
I managed to display the data correctly, by manually configuring which columns to show with what fields, and the grid is refreshed when the underlying data is changed. However I am having trouble with the pagination: the grid is looking at the actual amount of data that upshot has locally, and defines its pages based on that. However, I don't want to get all the data at once with upshot, only one page at a time.

Ex. I have 15 objects on the server, and I set my pageSize in the grid to 5, as well as upshot paging to 5, but with an includeTotalCount so I get back the TotalCount=15. Now, since upshot only has 5 local entities, the grid will only display one page, with these 5 items, even if I set
dataSource: {
 total: dataSource.getTotalEntityCount(), //which returns 15
 pageSize: 5
}

Is there any way I can tell the kendoGrid dataSource to show me the page numbers based on the total number specified, even if no actual data is present? Also, how would I then be able to pass the paging information (take,skip) options down to upshot, so it can make the requests based on those filters?

Thanks,
Szilard
Alexander Valchev
Telerik team
 answered on 14 May 2012
1 answer
90 views
Looking through the full source, I notice that the code is heavily documented.  Wondering:  Though your example-documentations are fairly extensive, it would be useful to have a full reference, especially for users who are building out larger applications.  Is this available anywhere?  Things like 'data-role', etc -- all of this is, on first glance, somewhat vague, and a full API doc would be greatly appreciated.  
Please advise -- 

Kamen Bundev
Telerik team
 answered on 14 May 2012
3 answers
618 views
Hello,

I want to bind a simple span tag to a date field. I need to specify that the date should be formatting as a shortdate, using the current culture. I know I can create a function  on my viewmodel to do the formatting and bind the span to that function.
But that feels a bit as overkill.
Can I specify the format in the data-bind itself somehow?
Something like: <span data-bind="text: {mydatefield:d}"/>

Regards, Jaap
rlapao
Top achievements
Rank 1
 answered on 14 May 2012
2 answers
135 views
Im trying to use KendoUI Autocomplete on JSON.

My AutoComplete got error " Uncaught TypeError: Cannot call method 'toLowerCase' of undefined"

Here is my code test page.
http://community.moohin.com/test_auto.html 

It's use remote DataSource from follow url 
http://community.moohin.com/run/auto.php 

Data return from this url is fix to 
[{"tag":"item1"},{"tag":"item2"},{"tag":"item3"}] 

I try to solve this for 4 hours.  still fail. T_T

Any Ideas?
Relative
Top achievements
Rank 1
 answered on 13 May 2012
0 answers
96 views
Hi All,

Would be very grateful to the community for helping me out in the following: I want to fire an ajax request and update the DOM but at the same time also change the URL of the browser. When the window.location is changed, browser reloads the entire page which I do not want. In short I want the feature exactly as same as it is on examples pages of kendoui - for .e.g. visit this  http://demos.kendoui.com/web/mvvm/widgets.html and you will get menu options on the left. When you use any of the options on the left menu, you will notice that the url changes but only the contents right to the menu changes and rest of the entire page remains as is. 

I will highly appreciate any pointer to it. Please note that I am not looking for hashplugin kind of thing. There is no hash in the url on kendoui examples pages. 

Thanks in advance
Muhammed Shakir
Top achievements
Rank 2
 asked on 13 May 2012
2 answers
658 views
Is there an example of the Grid using an AutoComplete control as a custom editor?

I seem to be having the exact same problems as This Post, so a simple example of it working would help.

Thanks

John
Top achievements
Rank 1
 answered on 13 May 2012
2 answers
290 views

Anyone know how simple form elements can be decorated using KendoUI?  Some basic widgets seem to be missing such a button set, button, radio buttons, etc.  

Something similar to a buttonset exists on the site! It's here: http://demos.kendoui.com/web/autocomplete/index.html and it's called the themechooser and it's hardcoded to do themes?  

Is there a way to maintain a consistent look on all form elements? (not just the ones with implemented widgets) If I need to bang out my own css/js for the missing ui widgets, I might as well go the rest of the way.

Thanks.

Tess
Top achievements
Rank 1
 answered on 13 May 2012
0 answers
68 views
I need to put on a kendo grid toolbar some variable text (defined at the server), and I guess I can send that text as an addition to the JSON string, but I cannot
  1. figure exactly how to code that, 
  2. reflect it in the schema and/or model and
  3. retrieve the text for use on the toolbar.

So far, I have coded like this:

            schema: {
                data: "data",
                model: {
                    msg: "message",  
                    fields: { ... }


The JSON response is served like so:

{"data":[{"Name":"ABC",...,"Update_date":"06\/03\/2012"}], 
 "message":"This is some variable text to be displayed on the toolbar"}

Thanks for any ideas
Andrés
Top achievements
Rank 1
 asked on 12 May 2012
0 answers
108 views
C
Hi there,

How can i change chart background color.

here default <path fill="#fff"
>.

But I am tried to change this.
Rajesh
Top achievements
Rank 1
 asked on 12 May 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?