Telerik Forums
Kendo UI for jQuery Forum
0 answers
84 views
I have list products and I want define 3 columns and 5 rows with ListView, how to to do with ListView. Thanks

Quang
Top achievements
Rank 1
 asked on 25 May 2012
0 answers
116 views
Hi,

I'm trying to make some exercises, specifically one like the Virtualization of remote data Example, but I have a problem:
When I set
scrollable: {
  virtual: true
}

the Grid is not scrollable... when setting it to virtual : false, I can scroll it but more data isn't retrieved from server. I'm attaching my code.

Thanks.
José Antonio
Top achievements
Rank 1
 asked on 25 May 2012
0 answers
79 views
I can bind data to kendo ui combobox but I don't know how to get datavaluefield when form submit, someone help me please or if you know tutorials please tell me.

Thank you for reading my topic
Quang
Top achievements
Rank 1
 asked on 25 May 2012
0 answers
406 views
Following is my header for a view and what I want to achieve is to when I click on the 'but_add_to_favorites' button, the button changes its data-icon (initially set to 'favorites'), say, to 'trash'. 


<div data-role="view" id="business_info" data-title="Business" data-show="BusinessInfo_Init" data-layout="mainLayout">
        <header data-role="header">
            <div data-role="navbar" id="business_navbar">
                <a class="nav-button" data-align="left" data-role="backbutton">Back</a>
                <span data-role="view-title">Business</span>
                <a id="btn_add_to_favorites" data-role="button" data-align="right" data-icon="favorites" onclick="favorites_clicked()"></a>
            </div>
        </header>
....
....

function favorites_clicked() {
            alert('hm');
            $("#btn_add_to_favorites").attr("data-icon", "trash");

as it shown me the 'hm' alert, this fires ok but nothing happens with my attempt to change the data-icon attribute to 'trash'.

Any guidance would be much appreciated.

Thanks,

John C 
Joon
Top achievements
Rank 1
 asked on 25 May 2012
0 answers
69 views
When testing my app in the Blackberry Bold (9780) I discovered I was unable to scoll down beyond the displayed content and also that clickable items such as list view items or tabstrip items did not work.
This is also true in the mobile demos so I assume this is a general issue.
Does anyone know how to get kendo ui items working correctly in the Blackberry Bold?
steve matheson
Top achievements
Rank 2
 asked on 24 May 2012
0 answers
37 views
In the old version the e.target of the dragLeave event was the div I was leaving, in the new version the e.target is now the new div I enter...

Is this a bug or a normal update?
Stephane
Top achievements
Rank 1
 asked on 24 May 2012
0 answers
192 views
We have a situation where we've bound our view (HTML page) to our ViewModel. There is a grid in our view that is being populated, however it's visibility is bound to a function on our ViewModel called 'isListEmpty'. It appears that this function is being checked by the view at binding time (when the list is empty), but after we've refreshed our observable array, and the grid populates itself with data, the isListEmpty() function is never checked by the view, and thus the grid remains hidden. Is there a way to poke the View from the ViewModel such that it refreshes some or all of its values that are bound to the ViewModel?
Benjamin
Top achievements
Rank 1
 asked on 24 May 2012
0 answers
113 views
I am useing Kendo Grid With Json datasource.and i enabled "serverPaging: true,";
I use this code in my server to handel the paging :


var take = Convert.ToInt32(context.Request.QueryString["take"]);
var skip = Convert.ToInt32(context.Request.QueryString["skip"]);
var page = Convert.ToInt32(context.Request.QueryString["page"]);
var pageSize = Convert.ToInt32(context.Request.QueryString["pageSize"]);

json = jss.Serialize(query.Skip(skip * pageSize).Take(take).ToList()).ToString();


and finally return the Json.

but now the Grid paging  only show me one page but i should to have 7 page.how can i defind the number off the page for my grid.
mahdi
Top achievements
Rank 1
 asked on 24 May 2012
2 answers
1.5K+ views
Hi,

Is there a way to define dataTextField to be a template? Perhaps it may be a good idea to define two new properties displayTemplate and valueTemplate to make control more flexible and customizable on client side.
Jerry T.
Top achievements
Rank 1
 answered on 24 May 2012
0 answers
67 views
I would like to validate drag/drop as the user moves a node over other tree nodes.
I have the following source:

        $("#treeView").kendoTreeView({
            dragAndDrop: true,
            .......
        }).bind("drag", function(e) {
            var node = $(e.dropTarget).closest(".k-item");

            // Only care if we are dragging to a treeviewitem
            if (!(node.length && node.parents(".k-treeview").length)) return;

            var targetId = $(node).find('.data-id').val();
            if(targetId != 'Testing")
                 // TODO: Mark dragging as invalid?
        });

But i'm not show how to mark the drag as invalid? Am I going about this the correct way?
Kyle
Top achievements
Rank 1
 asked on 24 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?