Telerik Forums
Kendo UI for jQuery Forum
6 answers
526 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
189 views
how to use  multiple select  in kendo mobile 
Noli
Top achievements
Rank 1
 answered on 19 Apr 2012
2 answers
133 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
75 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
104 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
250 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
137 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
87 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
Grid
General Discussions
Charts
Data Source
Scheduler
DropDownList
TreeView
MVVM
Editor
Window
DatePicker
Spreadsheet
Upload
ListView (Mobile)
ComboBox
TabStrip
MultiSelect
AutoComplete
ListView
Menu
Templates
Gantt
Validation
TreeList
Diagram
NumericTextBox
Splitter
PanelBar
Application
Map
Drag and Drop
ToolTip
Calendar
PivotGrid
ScrollView (Mobile)
Toolbar
TabStrip (Mobile)
Slider
Button (Mobile)
Filter
SPA
Drawing API
Drawer (Mobile)
Globalization
LinearGauge
Sortable
ModalView
Hierarchical Data Source
Button
FileManager
MaskedTextBox
View
Form
NavBar
Notification
Switch (Mobile)
SplitView
ListBox
DropDownTree
PDFViewer
Sparkline
ActionSheet
TileLayout
PopOver (Mobile)
TreeMap
ButtonGroup
ColorPicker
Pager
Styling
MultiColumnComboBox
Chat
DateRangePicker
Dialog
Checkbox
Timeline
Drawer
DateInput
ProgressBar
MediaPlayer
ImageEditor
TextBox
OrgChart
Effects
Accessibility
PivotGridV2
ScrollView
BulletChart
Licensing
QRCode
ResponsivePanel
Switch
Wizard
CheckBoxGroup
TextArea
Barcode
Breadcrumb
Collapsible
Localization
MultiViewCalendar
Touch
RadioButton
Stepper
Card
ExpansionPanel
Rating
RadioGroup
Badge
Captcha
Heatmap
AppBar
Loader
Security
TaskBoard
Popover
DockManager
FloatingActionButton
CircularGauge
ColorGradient
ColorPalette
DropDownButton
TimeDurationPicker
ToggleButton
TimePicker
BottomNavigation
Ripple
SkeletonContainer
Avatar
Circular ProgressBar
FlatColorPicker
SplitButton
Signature
Chip
ChipList
VS Code Extension
AIPrompt
PropertyGrid
Sankey
Chart Wizard
OTP Input
SpeechToTextButton
InlineAIPrompt
StockChart
ContextMenu
DateTimePicker
RadialGauge
ArcGauge
AICodingAssistant
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?