Telerik Forums
Kendo UI for jQuery Forum
2 answers
172 views
If I have below js code for a DDL, which means defaultly select 1st one after rebind DDL:

DDLDataSource.read();
DDL.select(0);

It will select 1st one of previous datasouce.
I guess when running DDL.select(0), DDL rebind is not fully complete.

so questions:
1. why DDL hasn't a OnBind event so that we can walk around this situation?
John
Top achievements
Rank 1
 answered on 17 Aug 2012
1 answer
125 views
The backbone integration sample on Github only integrates backbone models and collections to KendoUI. Is there a way to integrate backbone views (especially for mobile) and use KendoUI's mobile native look and feel? Thanks in advance.
Bill
Top achievements
Rank 1
 answered on 16 Aug 2012
1 answer
179 views
I'm tryiing to "play" with mobile example to see how can be easy is to make a port to kendo an application that use another framework.

I have added:
    <div data-role="footer">
        <div data-role="tabstrip">
            <a href="#tabstrip-profile" data-icon="contacts">Profile</a>
            <a href="#tabstrip-sales" data-icon="history">Sales</a>
            <a href="#tabstrip-rating" data-icon="favorites">Rating</a>
            <a href="#tabstrip-settings" data-icon="settings">Settings</a>
            <a onclick="javascript:apriFig();" data-icon="settings">Fig</a>
        </div>
    </div>


and made a javascript that do:
<script>  
    function apriFig() {
      $("#tabstrip-profile").empty().html('<img src="/static/indicator.gif"/>');
      $('#tabstrip-profile').load('/newtab/');
  }
</script>  

but it don't work: in the response of url /newtab/ i tryed to replace tabstrip-profile... but i don't understand why it don't work.

Francois Lorrain
Top achievements
Rank 1
 answered on 16 Aug 2012
1 answer
145 views
I want to render a chart where all but one of the series are stacked columns.  The other series is a line.  This works fine if I embed the series data within the JSON object passed to kendoChart(), but if I want to bind to a local variable holding grouped data, I don't see a way to associate a chart type to each of the groups.  Is this a shortcoming of the tool, or am I missing something?

Here's what the code looks like when I embed the series data within the JSON object (the chart CORRECTLY renders the "Expenses" series as a line chart...and the others are CORRECTLY rendered as stacked columns):

function createChart() {
    $("#chart").kendoChart({
        seriesDefaults: {
            type: "column",
            stack: true
        },
        series: [{
            name: "Expenses",
            data: [50000, 50000, 50000, 50000],
            type: "line"
        }, {
            name: "Pension Annuity",
            data: [12000, 12000, 12000, 12000]
        }, {
            name: "Social Security",
            data: [24000, 24000, 24000, 24000]
        }],
        categoryAxis: {
            categories: [65, 66, 67, 68]
        }
    });
}

However if I switch this code to bind to local grouped data, I can't see a way to set the 2 different chart types to match this.  Any ideas?
Iliana Dyankova
Telerik team
 answered on 16 Aug 2012
1 answer
87 views
I am using the grid to display some json data returned from an ajax datasource 
in the query I am returning between 50 and 100 rows of data
I have pagesize = 10
I have tried everything I could think of but it always says 1 page no matter how many records are actually in the result set.

How do I let the pager know how many pages there are?

the attached json.php shows the response I typically receive from a call
and the index.html is what I am using to generate the grid
Iliana Dyankova
Telerik team
 answered on 16 Aug 2012
0 answers
56 views
I have a list of data that I want to use both in a grid and in a dropdownlist simultaneously. On the grid, I want it to have a pageSize of 10, but on the dropdownlist I want it to have all of the data items. 

I don't want to specify two data sources for the same data just to get different page sizes. How would I set only the grid pageSize independent of the dataSource?

Thanks in advance,
Matt 
Matt
Top achievements
Rank 1
 asked on 16 Aug 2012
2 answers
99 views
I'm not the most adept with Javascript or Kendo, so this may be a bug, or it might just be my noobism showing.

I have a Kendo Grid created from the MVC stuff in the fluent library.   It's named "DocumentsGrid". It works fine.  No complaints, until I created a Custom Command on the grid that executes a javascript function named showRevisions.

<div id="RevisionWindow"></div>
  
<script language="javascript">
    function showRevisions(e) {
        var documentId = 1234;
          
        var wnd = $("#RevisionWindow").kendoWindow({
            content: "somecrazyurl?documentId=" + documentId ,
            title: "Revisions for Document " + documentId,
            width: "750px",
            height: "480px",
            modal: true,
            actions: ["Close"]
        }).data("kendoWindow");
                  
        wnd.center().open();
    }
</script>

This all executes fine.   Unfortunately, however, sometime after this function has completed, any javascript that relies on $("#DocumentsGrid").data("kendoGrid").dataSource fails.  I debugged through the code and the exact line of code where $("#DocumentsGrid").data("kendoGrid").dataSource begins returning null is in the jquery.js library, approximately line  8324:

complete(status, statusText, responses, responseHeaders);

The consequence of this is that I'm unable to do any paging or advanced manipulation of data in javascript once the window has been opened because most of the attributes on the DocumentsGrid object don't appear to be there anymore. 

Is this a bug in jquery, kendo, or am I expected to reconstruct the grid every time I after I manipulate windows?

Thanks,

Jason
Jason
Top achievements
Rank 1
 answered on 16 Aug 2012
2 answers
1.0K+ views
How do I change the URL of the content I want loaded per-tab after the initial configuration?
Pawan
Top achievements
Rank 1
 answered on 16 Aug 2012
0 answers
84 views
Hi, I'm considering KendoUI for a new SAP project.  I'm trying to figure out the best way to manage views and handle navigation/transition (much like KendoUI for mobile.)  I can't seem to find any info in the KendoUI doc and I'm starting to think there is just no support (yet) for defining multiple screens and navigating/loading them from the framework.  Any pointers would be greatly appreciated.

Sylvain
Top achievements
Rank 1
 asked on 16 Aug 2012
1 answer
538 views
Hi guys,
I'm noticed that there are some internal builds for kendo ui with some issues fixed, I have purchased developer keys, how can I get those internal builds ?

Thanks in advance.
Atanas Korchev
Telerik team
 answered on 16 Aug 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
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
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
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
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?