Telerik Forums
Kendo UI for jQuery Forum
3 answers
227 views
Hi,
My application has several Window objects sharing the same configuration settings. Is it possible to specify them somewhere and pass that on to kendoWindow when creating a window? Currently I have the following:

var win1 = $("#window1").kendoWindow({
        height: "600px",
        visible: false,
        width: "900px",
        modal: true,
        open: onOpenW
    }).data("kendoWindow");

var win2 = $("#window2").kendoWindow({
        height: "600px",
        visible: false,
        width: "900px",
        modal: true,
        open: onOpenW
    }).data("kendoWindow");

And I would like to have something like this (or whatever the syntax will be):

  config = {  height: "600px",
        visible: false,
        width: "900px",
        modal: true,
        open: onOpenW }

var win2 = $("#window2").kendoWindow({
        config
    }).data("kendoWindow");

Thanks!
Nohinn
Top achievements
Rank 1
 answered on 16 Oct 2012
0 answers
171 views
Does the Kendo Editor have the Code block control? I see this feature in the Ajax control but its not listed specifically within the kendo control.
Sanketh
Top achievements
Rank 1
 asked on 16 Oct 2012
2 answers
759 views
My apologies if this has been covered before, but I searched and did not see exactly this issue. I've placed this in the Grid forum, but maybe that's not quite the best place for it. Anyway, on to the problem.

I have seen that data coming from Kendo POST and PUT operations is formatted.. uh.. really strangely. Tastypie (which is an API framework) barfs up an error like so:

raise ValueError("No JSON object could be decoded")

So I inserted some code into my back-end to dump the raw data. You can see a sample of that data here:

active=false&description=Small+shiny+Widget&internal_part_no=A01-1&low_stock_alert=10&manuf_part_no=83927&pub_date=2012-10-03T19%3A48%3A19.559618&quantity_available=1&serial_no=00001&title=Special+part+01&unit_cost=124.43

This differs quite a lot from the formatting when I use Ext JS to POST or PUT, you can see a sample of roughly equivalent data here:

{"id":2,"description":"Special funky widget","manuf_part_no":"9766","internal_part_no":"A02-1","serial_no":"010101","unit_cost":"22.98","added_date":""}

At this point I suspect that I must be missing something really obvious with my Kendo configuration. I have attached the javascript used to produce the sample data in this post. It's not a problem for me to write a custom deserializer for the back-end to handle this data, but I feel like I must be making a simple mistake. Thanks for any ideas.

Wes
Top achievements
Rank 1
 answered on 15 Oct 2012
1 answer
150 views
Is it possible to use a Google Docs Sheet or Google Fusion Sheet as a datasource?

Thanks,

Dave
John
Top achievements
Rank 1
 answered on 15 Oct 2012
0 answers
99 views
If I'm dealing with large datasets and hence doing all the processing on the server (paging, grouping etc) is there any way to determine when groups are collapsed?

I want to be able to show aggregates for each group but allow the user to see them all on one page by collapsing them. Due to size of the datasets I don't won't to pass all the data to the client, therefore I use server side paging.

Example:

I have a list of 10,000 customers and I want to produce a grid with 100 items per page that groups the data by Continent.  The server will do the paging, grouping and aggregation.  The output will be a list of groups like

Africa          Count=10,000
Europe        Count=30,000
N. America   Count=20,000.

I want the end user to be able to see the overall summary in one go.  The way it's seems to work is that I have to scroll through every page to find the summary information for a group. The user has no way of knowing that some groups even exist unless they go through every page.  I also want the user to be able to group by a different field (e.g. Language) and have the groups regenerated with the possibility to collapse all groups and see the summary information.    
masterK
Top achievements
Rank 1
 asked on 15 Oct 2012
2 answers
280 views
Have an anchor:
<a id="popanchor" data-rel="popover" href="#popover-task" data-role="button" >Open PopOver</a>

and a popover:
<div data-role="popover" id="popover-task" >
    <div data-role="view">
        Hi There
    </div>
</div>

Other kendo elements seem to be working fine. Get error when clicking on the button "Uncaught TypeError: Cannot call method 'openFor' of undefined".

Looking at source the error occurs here:
kendo.widgetInstance($(href), ui).openFor(link);

In the widgetInstance function...
kendo.widgetInstance = function(element, suite) {
    var widget = suite.roles[element.data(kendo.ns + "role")];
 
    if (widget) {
        return element.data("kendo" + widget.fn.options.prefix + widget.fn.options.name);
    }
};

it fails to find the "kendoMobilePopOver" data. Which leads me to believe its not initializing properly. I tried setting up in in JavaScript instead and same result.

Thoughts? Thanks,

Dennis
Dennis
Top achievements
Rank 1
 answered on 15 Oct 2012
2 answers
138 views
We're having a problem where out calendar is set to width: 100%...but when you change the month then resize the browser window, it's set a fixed width on k-content so the calendar looks all gimpy.  If we set k-content too width:100%, when you change months the TDs go all screwy as it animates I guess 2 months together.

sitefinitysteve
Top achievements
Rank 2
Iron
Iron
Veteran
 answered on 15 Oct 2012
1 answer
118 views
Hi it's told that for DropDownList, dataItem():
 "Returns the raw data record at the specified index. If the index is not specified, the selected index will be used."
I use it with no index specified. This works if I select a value using keyboard. If I select a value by mouse click, I get not current but previously selected value.
(using kendo.web.min.js v2012.2.710)
Thanks
Georgi Krustev
Telerik team
 answered on 15 Oct 2012
7 answers
345 views
I'm viewing a kendoGrid with 250 rows on an iPad.  

i am unable to scroll down vertically. I thought the kendoGrid is touch enabled.

Please can someone tell me Is the kendoGrid touch enabled?


thanks
Ifdev02
Top achievements
Rank 1
 answered on 15 Oct 2012
0 answers
103 views

Hello,

 I am planning to develop a mobile application in android using KendoUI. Do I need to use Phonegap(need to refer cordova?) or I can develop the entire application using KendoUI framework without using Phonegap?

 Other question is there will be any challenge if I am planning to use the IDE as Visual Studio and platform as Windows phone 7. Because it says KendoUI does not support in Windows Phone 7.  But I got this link. Please give a suggestion.

 http://www.c-sharpcorner.com/UploadFile/dhananjaycoder/windows-phone-application-using-kendo-ui-mobile-and-phonegap/

 Thanks

Bavya
Top achievements
Rank 1
 asked on 15 Oct 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
Chat
MultiColumnComboBox
Dialog
DateRangePicker
Checkbox
Timeline
Drawer
DateInput
ProgressBar
MediaPlayer
ImageEditor
TextBox
OrgChart
Accessibility
Effects
PivotGridV2
Licensing
ScrollView
Switch
TextArea
BulletChart
QRCode
ResponsivePanel
Wizard
CheckBoxGroup
Localization
Barcode
Breadcrumb
Collapsible
MultiViewCalendar
Touch
RadioButton
Stepper
Card
ExpansionPanel
Rating
RadioGroup
Badge
Captcha
Heatmap
AppBar
Loader
Security
TaskBoard
Popover
DockManager
TimePicker
FloatingActionButton
CircularGauge
ColorGradient
ColorPalette
DropDownButton
TimeDurationPicker
ToggleButton
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
SmartPasteButton
PromptBox
SegmentedControl
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?