Telerik Forums
Kendo UI for jQuery Forum
6 answers
501 views
The below function reads from a specific URL and loads the contents into myDiv using a template and listView.  The function works perfect the first time.  How can I force the view to refresh with new data each time the function runs (the function is triggered externally)?

function loadNewFeed(url) {
var dataSource = new kendo.data.DataSource({
transport: {
read: {
url: url,
dataType: "json"
}
}

});
$('#myDiv').kendoListView({
dataSource: dataSource,
template: kendo.template($("#reviewsTemplate").html())
});

};

De
Top achievements
Rank 1
 answered on 19 Apr 2012
1 answer
180 views
how to use  multiple select  in kendo mobile 
Noli
Top achievements
Rank 1
 answered on 19 Apr 2012
2 answers
127 views
There appears to be an issue with Maximize.  When you maximize a window, the window gets taller than the actual client area.  If you are using the window like a dialog, the buttons at the bottom will actually hang off the screen, or be hidden completely.

I am using Chrome when noting this issue.  Here's an example of the problem:

http://jsfiddle.net/jkappel/kn6Ep/

On a side note, how do you set the initial top and left positions of the window?
Intuitively I would have thought top: and left: would do it, but it appears not so.
Gary
Top achievements
Rank 1
 answered on 18 Apr 2012
0 answers
68 views
(see attached)

I want my listview to contain the "Threads" collection, however I want other parts of the page\widget to show the other data.

This would be super simple with just an $ajax call and I could play with the returned object, but I'm stumped as to where to start with the datasource.
sitefinitysteve
Top achievements
Rank 2
Iron
Iron
Veteran
 asked on 18 Apr 2012
0 answers
102 views
Basic scenario

Have a dropdown list

Is set up with a datasource as follows:

dataSource: {
 
    type: "json",
    transport: {
        read: '/Chargeability/SL_JSON'
    }
 
},

Works fine.

Later in the code, I assign a data object

sl_dd_d.dataSource.transport.read.data = { bu: value };

(console.log confirms this is working and the value is being retained)

Then after I set this values, I do a sync on the dataSource

sl_dd_d.dataSource.sync();

The request goes to the server, as expected, works fine

HOWEVER, it does not attempt to POST the data value that was set, which is meant to modify the query done by the server


Is this a bug or am I just missing some critical piece of information?
Michael
Top achievements
Rank 1
 asked on 18 Apr 2012
2 answers
245 views
Hi

I set set an url while binding a list. its have no issue if set local view id. But instead of local view id if i set a local .html page. it will stop working in android device. In Phonegap, it giving an error ---

03-31 16:30:24.359: E/Web Console(19853): Uncaught TypeError: Cannot call method 'getAttribute' of undefined at file:///android_asset/www/js/kendo.mobile.min.js:8

------------------------------------------------------------------------------------------------------------------------------------

var MainMenuAction = [
            { name: "Book Your Ticket", description: "", url: "eventtypelist.html", id: 1},
            { name: "Trace Your Ticket", description: "", url: "traceticket.html", id: 2}
        ];


        function SetMainMenu() {
            $("#ulMainMenu").kendoMobileListView({
                dataSource: kendo.data.DataSource.create({ data: MainMenuAction }),
                template: $("#TmpIndex").html()
            });

    <script type="text/x-kendo-template" id="TmpIndex">
    <h4 class="item-title">${name}</h4>
    <p class="item-info">${description}</p>
    <a data-role="button" data-item-id="#:id#" href="#: url#" class="details-link">Continue</a>
    </script>

----------------------------------------------------------------------------------------------------------------------------------------------

List is populate but when i click on button it will not working in my mobile.

How to fix this issue.

Thanks 

Jaydeep
Reinaldo
Top achievements
Rank 1
 answered on 18 Apr 2012
0 answers
132 views
How do I apply a style or class to a grid column header.  For example, I would like to apply the style text-align: right to a specific column.
Levi
Top achievements
Rank 1
 asked on 18 Apr 2012
0 answers
85 views
I'm working fine with Editor by some months, but today I realize that if it had a 'column' or 'table' formatting options for the text this is going to help me so much!

There is no way to implement these new options?

Thanks, Vinicius.
Vinicius
Top achievements
Rank 1
 asked on 18 Apr 2012
0 answers
67 views
Hi,

On my sample app I'm browsing through multiple views for test.  When i press the Back button on my phone or go to index page, i cant exit to my app.

If i've visited 20 pages, I must go back through 20 pages to exit and go back to android desktop. how can i exit from the index? any button or tag can help me?

Please help

<script>
     new kendo.mobile.Application($(document.body), {
         platform: "android",
         initial: "index"
 
     });
</script>
Orlando
Top achievements
Rank 1
 asked on 18 Apr 2012
3 answers
56 views
for example,when i send the delete request to the server,but server delete error , in this time,server will respones the error message,
now which event i can use to alert the message?
Dimo
Telerik team
 answered on 18 Apr 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?