Telerik Forums
Kendo UI for jQuery Forum
1 answer
92 views
hello 

i new with kendo ui and i testing it for my new project, I use  the grid and i have column with ip range, and i get the results dynamic from the server.
when i press on the header of the IP column  the grid sorted, but when a new result arrived it doesnt sort as it should be, 
and second how can i override the sort method so i get the ip in order as numbers "10.0.1.1, 10.0.1.2, 10.0.1.10" instead of string "10.0.1.1, 10.0.1.10, 10.0.1.2"

Thanks 
Dimiter Madjarov
Telerik team
 answered on 10 Dec 2013
5 answers
386 views
I have a grid with edit mode set to 'inline'.
It has a remote dataSource with only the transport 'read' options set.

I am looking for a way to close a row edit (similar to closeCell, but for a whole row) in the grid , without the grid attempting to update the dataSource.

THE PROBLEM:   
At the moment, if I call saveRow, a dataSource sync is attempted, but fails and the grid remains in edit mode.  If I call cancelRow, the updates are lost from
the grid.

The sync fails as no transport 'update' option is specified in the dataSource. I do not want to specify the transport update, create and destroy options, as  I
want to perform my own updates, rather than have the dataSource do this. I want to maintain the updates in the grid (with red triangles to say which cells are dirty), and then manually post these to my server at the appropriate time, rather than have the dataSource do this immediately.

So when the user clicks the row's "edit" button the whole row must go into edit mode, the user captures the data and clicks the "save" button. 
I want to
1. visually take the row out of edit mode,
2. still show the red triangles for the data that is dirty,
3. raise an event that the grid row has been committed.
4. A separate class can subscribe to this event and be responsible for saving the dirty grid data.
5. We will use Signal R to notify database changes to the client, which will refresh these changed rows in the grid and remove the red triangles.

I am having problems with points 1 and 2.

Any help would be appreciated. Thanks.
Vladimir Iliev
Telerik team
 answered on 10 Dec 2013
1 answer
113 views
I have scheduler gruping by its resource. Then i create a new all day event by double clicking the cell and the resource is selected in the editor. Then i made the scheduler selectable, and I select 3 day event and hit enter but my resource group is not automatically selected.
We need this because in custom template user won't be able to change that resource from  the dropdown and we don't know how to get the selected id of the resource. 
I've attached some pictures.

Thank you
Georgi Krustev
Telerik team
 answered on 10 Dec 2013
1 answer
177 views
Hi, we are trying to add content padding to the editor. We used the following method to do it, which it works but the problem with this method is, as soon as we set the padding the Scrollbar of the Editor will become visible even though there is not content in it. Herewith below is our way to add content padding to the Editor:

$("#details").data("kendoEditor").body.style.padding = "5px";

Please advise:
1. What is the best way to add content padding to the Editor?
2. If the above method is recommended, how can we solve the unnecessary Scrollbar activation issue?

Thank you.
Dimo
Telerik team
 answered on 10 Dec 2013
1 answer
122 views
When can we expect the visual studio 2013 extensions for MVC 5?
There is currently no support for Kendo in Visual Studio 2013. You have stated that you will have support once the product is released, but it has been out for a while now, and there still doesn't appear to be any support?
Also, I noticed that in Visual Studio 2012 and MVC 4, the kendo project template was virtually identical to the Microsoft default template, except that you deleted all the ASP.NET identity related code. Why did you do that, and are you planning on taking the same approach in MVC 5? I am hoping that the default Kendo template for MVC 5 will include the Microsoft template in it's entirety. I also noticed that in VS 2012, the default kendo project included the default jQuery css file, but also added one in the kendo folder. Why didn't you just use the one that Microsoft includes in the default template?
Petar
Telerik team
 answered on 10 Dec 2013
4 answers
211 views
Sorry if this is a really dumb question - I'm sure it will be something obvious - but why do I get an Uncaught TypeError when I do kendo.observable (and kendo.bind) in the code below?

Trying to follow the examples but falling at the first hurdle!

Many thanks!

<!DOCTYPE html>
<html>
<head>
    <title>Test page</title>
    <script src="js/kendoui/jquery-1.7.1.js"></script>
    <script src="js/kendoui/kendo.all.js"></script></head>
<body>
    <span data-bind="text: name"></span>
     <script>
        var viewModel = kendo.observable({
            name: "John Doe"
        });
        kendo.bind($("span"), viewModel);
    </script>   
</body>
</html>


Markus
Top achievements
Rank 1
 answered on 10 Dec 2013
7 answers
669 views
- Using Browser "IE9"
- compatibility mode IE7 or  compatibility mode IE8
- HTML header in <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />

http://demos.kendoui.com/web/datepicker/index.html

choose date not selected!!

the calendar opens up but it does not selected
Georgi Krustev
Telerik team
 answered on 10 Dec 2013
6 answers
428 views
Hi,

i have a master grid displaying on a page, depending on the selection of the grid row, have to generate a dynamic url to be passed to the datasource of grid2 and this reloads the data into grid 2.

is there a way where on change event of grid 1: i can pass a parameter via datasource.read() for loading data into grid 2 dynamically.\


thanks in advance.

R
rupendra
Top achievements
Rank 1
 answered on 10 Dec 2013
1 answer
96 views
Is the MobileThemeBuilder for the flat/universal application available?  I thought it was to be part of Q3 - but I can't find it.
Thanks!
Bill
Kamen Bundev
Telerik team
 answered on 10 Dec 2013
4 answers
491 views
Given a view model, I have tried the following;

var viewModel = new kendo.observable({
   Items: [],
  onUpdateItems: function(e){
     console.log('updating items');
 }
});
viewModel.Items.bind('change', function(e){
  viewModel.onUpdateItems(e);
});
 
viewModel.trigger("change", { field: "Items" });
This does not cause the function to trigger. Though if I actually change items in the view, like interacting with it, it causes the function to fire. This doesn't make a lot of sense to me.
Atanas Korchev
Telerik team
 answered on 10 Dec 2013
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?