Telerik Forums
Kendo UI for jQuery Forum
2 answers
183 views
Hi,

is it possible to style the line chart so it can be used as sparkline or is there a plan to include sparkline chart in upcoming releases?

Thanks,

Igor
David Harris
Top achievements
Rank 1
 answered on 20 Dec 2011
1 answer
547 views
Is there a way to return a model without using get(id) ?

I am using this with the grid, and using a template for the column.  In the template, I use reference the Id to get the model. 

However, when creating a new row with the grid, there is no "Id" set so I need to find another way to access the model.

I can manually access the underlaying data with the "after" code.

But I want to to return the model so I can use .set() -- so that the 'modified' field is toggled -- so that the "save" toolbar button with run the update method.

Before:
$('#gridEmailAddress').data('kendoGrid').dataSource.get(#=Id#).set('StatusTypes[0].Flag',true)

After:
$('#gridEmailAddress').data('kendoGrid').dataItem(this.parentElement.parentElement).StatusTypes[0].Flag=true;


The after version sets the data, but it does not update the modified flag -- so when I click the "save" button the grid toolbar, it does not run the update method.



Brandon
Top achievements
Rank 1
 answered on 20 Dec 2011
2 answers
322 views
I'm simulating checkboxes by using spans that do something when clicked.  Everything is working fine when using existing data because I can use .get(ID) to access the data row and then use .set to toggle the value (which sets the modified flag and all that).  However, when adding a new row to the table, there is no ID, and I can't use the "get" function to access it.  I have a semi-working jsfiddle example. 

Use the "add new cell text message" button, I haven't implemented the default "add row" button. 

Also, how do I have a function I wrote be called after the "Add New Row" button does it's work?


http://jsfiddle.net/brandoncharnesky/KcQ9T/
Brandon
Top achievements
Rank 1
 answered on 20 Dec 2011
0 answers
178 views
Whilst using the drop down list if I assign the data like the first example it works OK, however if I build up a string and then put this in as per the second example it does not work as expected.

***first statement******

 

$("#dropdownlist").kendoDropDownList([{ text: 'Zone 1', value: '0' }, { text: 'Zone 2', value: '10000' }, { text: 'Zone 3', value: '10001'}]);

 

***second statement******

var json = "{ text: 'Zone 1', value: '0' }, { text: 'Zone 2', value: '10000' }, { text: 'Zone 3', value: '10001' }";
$("#dropdownlist").kendoDropDownList([json]);

 

Cliff
Top achievements
Rank 1
 asked on 20 Dec 2011
0 answers
133 views
I am having an issue that when I have a kendo combo box on a page in firefox with a selected value and I link to a new page and then click the browser back button the combo box is blank instead of showing the selected value.  This only happens with Firefox and I have tried Firefox version 7 and 8.  The other browsers I have tried (IE9 and Chrome) worked fine.  To help isolate the problem I also In Firefox tried not calling kendoComboBox on my drop downs and in that scenario when using the back button to return to a page the dropdowns are displayed as expected.

Thanks,
Peter
Peter
Top achievements
Rank 1
 asked on 20 Dec 2011
11 answers
501 views
Hi,

I am new to this forum and Kendo UI.  I have a WCF service that has JSON support running.  I can us jQuery to call the web service and the breakpoints get hit.  I know it works via jQuery.   I wrote the following for the auto-complete and it doesn't fire off the request to the local service.   The aspx page and the service are in the same domain.  I have pasted in the code below.   I have tried jsonp, json, xml and nothing seems to want to hit the service.  The commented out code : WCFJSON() function calls the service and the breakpoint gets hit.  Any ideas?

  $(document).ready(function () {

            // WCFJSON();

            // $("#input").kendoAutoComplete(["Apples", "Oranges", "Grapes"]);

            // return;

             $("#input").kendoAutoComplete({

                 minLength: 10,

                 dataTextField: "Cusip",

                 dataSource: new kendo.data.DataSource({

                     transport: {

                         read: {

                                    url: "Service.svc/GetUsers",

                                     dataType: "jsonp"

                                }

                     }

                  }

                 ),

                     change: function () {

                        //alert("test");

                         this.dataSource.read();

                     }

                    

             });

         });


Thanks,

Steve
Sovan
Top achievements
Rank 1
 answered on 20 Dec 2011
7 answers
538 views
I'm trying to return a response from my save handler:

     Sub ProcessRequest(ByVal context As HttpContextImplements IHttpHandler.ProcessRequest      
        ' Some save logic
         
        context.Response.Clear()
        context.Response.ContentType = "text/plain"
        context.Response.Write("{'result':'result value'}")
    End Sub

but in my success event handler I got null for "e.response". Any help would be appreciated.
T. Tsonev
Telerik team
 answered on 20 Dec 2011
1 answer
104 views
I am trying to show data from a long running calculation in Grid. In order to speed the process up I have broke the data into several calls to a webservce, giving me several groups of JSON data. What is the best way to put that in a Grid? I would like to add each section to the Grid as it returns rather than waiting and having everything pop at the end.

What is the best way of doing this?

I have tried creating a kendo.data.DataSource and then adding the records. The demo shows an add method, but I am getting an error when I call it.
Declared at top of script, the add line is in an anonymous function from a success function on a $.ajax call.
var localDataSource = kendo.data.DataSource;

Error from FireBug Console: localDataSource.add is not a function
Rosen
Telerik team
 answered on 20 Dec 2011
4 answers
175 views
Hi Kendo Team

Is there a way to include all single forum rss feeds in one?
at the moment every forum has its single rss feed, but I want all the kendo forums in one rss feed.

Is there any solution for this?

Many thanks and best regards
Paddy
Iva
Telerik team
 answered on 20 Dec 2011
0 answers
83 views
the instruction at http://www.kendoui.com/get-kendo-ui.aspx  includes this line:
<
script src="jquery-1.6.2.min.js"></script> 

While I downloaded the free trial (personal) version and found there's no this script file in the js folder, should be

<script src="jquery.min.js"></script>  
James
Top achievements
Rank 1
 asked on 20 Dec 2011
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
Drag and Drop
Application
Map
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
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?