Telerik Forums
Kendo UI for jQuery Forum
1 answer
289 views
Hello, I need some assistance.  i am using the chart and I have a lot of data on there.  I was wondering if there is anyway to set a minimum width so all the data is readable.
Iliana Dyankova
Telerik team
 answered on 25 Oct 2013
4 answers
475 views
For our bar chart, sometimes the category number is big, e.g., 100, in this scenario, the legend area mess up and the plot area disappears.
Could Kendo control the size of legend,  or, for example, give a scroll bar to show legend?
Iliana Dyankova
Telerik team
 answered on 25 Oct 2013
1 answer
320 views
How can I validate whether input has been entered in an AutoComplete or a selection has been made in a DropDownList. If neither is true then it should fail validation. I'm just figuring out the Kendo Validation and if there was a length requirement maybe I'd be on the right track. Can someone suggest a successful way to validate this scenario?

Here's where I started:
<div id="cboSearchStringValidate1">
    <input type="search" id="cboSearchString1AC" />
    <input id="cboSearchString1DDL" />
</div>

$("#btnSearch").click(function () {                                         alert('start to validate');                                             $("#cboSearchStringValidate1").kendoValidator({
rules: {
                                                       customruleSearchStrings1: function (input) {                                if (cboSearchString1AC.length == 0 && $(cboSearchString1DDL).val == ""){
 return input.val() === "true";
}                                                           return true;                                                       }
},                                                   messages: {                                                       customruleSearchStrings1: "Search must not be empty"                                                 }                                               });                                               alert('validate checked');                                           
                                            }
                                           );
I think this needs to be in here somewhere, but not sure if I have the whole thing put together properly.
var validator1 = $("#cboSearchStringValidate1").kendoValidator().data("kendoValidator");
if (!validator1.validate()) {
    alert("validated search strings 1");
    alert('yes, we are valid');
}
else {
    alert("no such luck");
                                               }
Thanks in advance for enlightening me ;)
Kiril Nikolov
Telerik team
 answered on 25 Oct 2013
3 answers
158 views
I am stuck for a couple of days now with the kendo grid.
When I select a row in the grid, I save it inside an Angular scope variable.
When I click edit a custom edit screen opens with the data of the selected row.
After saving the changes, I want to call the "update" function from the dataSource.transport.
But my server returns a new "EditedDate", so I also want to call the e.success() callback in my update function.

When I call the dataSource.transport.update(editedObject), I only have the object in my function, without an e.success() to update the grid row.
When I call the dataSource.remove() or the dataSource.add() and then the dataSource.sync() everything goes well.

I'm just not able to update any row, because I also need the e.success().

create: function (e) {
 //custom createfunction with callback
 vm.CourseFactory.Insert(e.data, function success(data) {
  e.success(data);
 });
},
update: function (e) {
 //custom update function with callback
 vm.CourseFactory.Update(e.data, function success(data) {
  e.success(data);
 });
},
the dataSource.add(newObject), calls the create function with an e.data and an e.success
I need the same kind of function for my update function, but I only found add() and remove()
and dataSource.transport.update() is not what I'm looking for.

Any help would be appreciated!
Petur Subev
Telerik team
 answered on 25 Oct 2013
3 answers
103 views
Hi there,

I am using a kendoComboBox to load data from the server. I would like to limit the size of the initial control to, say 200px, but display the items that are returned from the server in a wider list, say 400px wide below the control.

How can this be done? I tried various things such as setting explicit widths on various CSS elements. I also used a template with a <div> that has a defined width, for each item but no matter what I try, the size of the items is constrained by the size of the original ComboBox control.

Are there any examples that show how to accomplish this?

Thanks in advance,

Imar
Kiril Nikolov
Telerik team
 answered on 25 Oct 2013
8 answers
276 views
Hi !

I was trying to create a scheduler using Kendo Scheduler.
It seems that there is no way for me to create a timeline view like Telerik Scheduler.

I'm trying to display monthly meeting but i want to the days display in horizontal way not in a calendar way.

Thanks in advance for your help

Atanas Korchev
Telerik team
 answered on 25 Oct 2013
3 answers
150 views
Issue 1: Drawer re-appears when using app.navigate()
I have several views that use a Drawer. Running into an issue when using ap.navigate().
Steps to reproduce:
1. I have 4 views that use the same Drawer
2. While on View 1, I bring up the Drawer and select a link (<a>) to bring up view 2
3. On view 2, I do a button click, which then does an app.navigate() back to view 1
4. Now, instead of displaying view 1 fully, I get view 1 with the Drawer already shown covering most of view 1.
How can I prevent the Drawer from showing up again unless the user explicitly brings up the Drawer?

Issue 2:
On views that have a Back button, clicking the back button brings up the Drawer if the view was shown by navigating thru the Drawer. Is there an option to prevent the Drawer from getting added to the history so that the back button doesn't navigate back to the Drawer?

Issue 3:
The iPhone simulator (that comes with Telerik Graphite) doesn't seem to work well with the Drawer. In the above scenario, when I navigate back to View 1, the Drawer displays one of the views instead of its own content. The same issue has been noticed on a desktop browser as well

Kiril Nikolov
Telerik team
 answered on 25 Oct 2013
1 answer
100 views
Hey guys

I'm wondering if I can make something like the home screen (I don't know exactly how it's called) from Windows Phone 8.
Not the full alphabetical list of apps, but the tiles to the left.

I tried altering some CSS, but things got a bit messy. I guess I should just use the Scroller widget, right? The only thing I'll miss is the virtual scrolling, which prevents performance problems for big lists.

Any thoughts?
Thanks!
Kiril Nikolov
Telerik team
 answered on 25 Oct 2013
3 answers
169 views
Hi 

I need to add Dropdownlist with binding data as column inside my grid..i checked in forum..but i didn't get proper solution..Here i have attached my screen for your reference.Kindly find the attachment.kindly do the needful.Thanks in advance.
Alexander Popov
Telerik team
 answered on 25 Oct 2013
2 answers
790 views
Is there a way to prevent the Horizontal Scroll Bar appearing in a dropdownlist.  (while keeping the vertical scrolling)

Many people would be happy for horizontal overflow to be hidden on a drop-down list.

The catch is you can't keep making the drop-down portion of a dropdownlist wider as if it's wider than the container div the control wraps to the next line and messes up the layout.
Juan Pablo
Top achievements
Rank 2
 answered on 24 Oct 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?