Telerik Forums
Kendo UI for jQuery Forum
8 answers
432 views
Here is my code

My graph is not displaying please help
<!DOCTYPE html>
<html>
<head>
<meta name="description" content="[chart]" />
</head>
<body>
  <div id="chart"></div>
  <script>
    $(function() {
    var data = [
    {
        "Date": "12/31/2007",
        "IndexValue": 190.68435691915832,
         
    },
   {
        "Date": "1/1/2008",
        "IndexValue": 190.67087650872867,
         
    },
    {
        "Date": "1/2/2008",
        "IndexValue": 190.67087650872867,
         
    },
    {
        "Date": "1/3/2008",
        "IndexValue": 190.67087650872867,
         
    }
     
];
 
                $("#chart").kendoChart({
                    theme: $(document).data("kendoSkin") || "default",
                    title: {
                        text: "Charge current vs. charge time"
                    },
                    legend: {
                        visible: true
                    },
                    seriesDefaults: {
                        type: "line"
                    },
                    series: [{
                       name: "Date",
        field: "Date"
                    }],
                    valueAxis: {
                field: "IndexValue"
    
                            },
                    tooltip: {
                        visible: true,
                        format: "{1}% in {0} minutes"
                    }
                });
       
       
       
       
      
    });
  </script>
</body>
</html>
Iliana Dyankova
Telerik team
 answered on 20 Dec 2012
1 answer
50 views
Is it possible to use style binding within a row template?
Alexander Valchev
Telerik team
 answered on 20 Dec 2012
1 answer
97 views
hi,

can i load a grid with some data coming from a json file remotely and append this by data coming from another json file ? Basically load data from 2 sources one after the other into the same grid.
Dmitry
Top achievements
Rank 1
 answered on 20 Dec 2012
1 answer
97 views
I have used kendo ui grid + mvvm + row template. the template has two datetimepickers. When the grid has 7 rows or more, setting datetimepicker values takes more than 10 seconds. Is it possible to change row template for the current row only?
Alexander Valchev
Telerik team
 answered on 20 Dec 2012
3 answers
383 views

This is my first time using Kendo UI and I'm trying to set up a simple grid with data fed from a json file.

When the page loads, it doesn't display anything and it does not give me any type of error, am i doing anything wrong?

var Data = new kendo.data.DataSource({
          transport: {
              read: {
                  url: "http://localhost:88/Animation.svc/GetProspect",
                  dataType: "json"
              }
          },

      });

      $("#grid").kendoGrid({
          dataSource: Data,
          columns: [
    {
        field: "Date",
        title: "Date"
    },
    {
        field: "Name",
        title: "Name"

    }],
     height: 200,
    scrollable: true,
    pageable: true,
    sortable: {
    mode: "multiple"
    }
      });

This is what the json format looks like:
[{"Date":"12-31-2010","Name":"A","LastName":"B"}, {"Date":"12-31-2011","Name":"B","LastName":"C"}]

Vladimir Iliev
Telerik team
 answered on 20 Dec 2012
1 answer
122 views
Hi,

I need to do some customization on the header row and not sure if this is possible. Please take a look at the attached image. My rows are 2-lines type including my header row. Do you think this is possible on header row with custom row template?

I am sure I can do this on my item rows with custom row template, but not sure if this is possible on the header row as well.

Thanks.
Iliana Dyankova
Telerik team
 answered on 20 Dec 2012
2 answers
211 views

It appears that IE (8,9, not sure about 7) does not support selecting multiple files when uploading files.  I believe this is a browser limitation as Firefox does this without issue.  Is there anything I can do?  This could be a showstopper unfortunately.

tirumala
Top achievements
Rank 1
 answered on 20 Dec 2012
1 answer
528 views
All,

I have an issue with a Kendo grid control, where one of the columns is a checkbox.  I have the checkbox working using the inline template.
template: "<input type='checkbox' class='k-checkbox' # if (ChkbxCol) { # checked='checked' # } #>"},
The issue is when the grid renders, I can check on or off any rows in the grid, but the dirty icon will not display. The checkbox column renders more towards the right hand of the column and the only way to truly trigger a row change to make the dirty icon display is if I click on the middle of the column, which moves the checkbox more center.  Then when I check or uncheck it, I see the dirty bit icon.

Has anybody run into this issue before and if so, please provide some input as it would be greatly appreciated.  I also tried to center align the checkbox, but could not.  I may be doing something wrong, but if I can get it so that when I click the checkbox, that it sets the dirty icon instead of having to click the middle of the column which moves the checkbox more centered and then have to check it that way.

I also tried to use a Kendo row template, but somehow for the row template, when I try clicking the middle of the checkbox column, it doesn't do like the above and so the dirty bit never is set.
<script id="rowTemplate" type="text/x-kendo-tmpl">
            <tr>
                <td>#= kendo.toString(Received_Date,"MM/dd/yyyy") #</td>                   
                <td align:"center">
                    #if(ChkbxCol){#
                        <input type="checkbox" checked="checked" />
                    #}else{#
                        <input type="checkbox" />
                    #}#                    
                </td>               
            </tr>
        </script>
Jeremy Cook
Top achievements
Rank 1
 answered on 20 Dec 2012
6 answers
2.2K+ views
Hello,

I use a grid inside my website. Now i want to add a upload field to this grid to upload images. And also add radio buttons.

Is this possible? I can't find a list of supported element types.

Regards,
Jacob
jose
Top achievements
Rank 1
 answered on 19 Dec 2012
3 answers
278 views
Hi all,

I've an issue with pagination with an HTML grid.

First I've generated a grid (from server-side code) which is "converted" in a KendoGrid from clien-side code:

<table id="grid">
            <thead>
                <tr>
                    <th data-field="field1"></th>
                    <th data-field="Id">MyFiels</th>
                </th>
            </thead>
            <tbody>
            <tr><td> (and so on..)
          </tbody>
        </table>

Now I convert the grid using the following code:

 $("#grid").kendoGrid({
            sortable: true,
            selectable: "row",
            height: 350,
            pageable: {
                refresh: false,
                pageSize: 30
            }
        });

I've trie to set a kind of "RecordCount" property in order to build a number of page links according to PageSize and "TotalRecordCount"
I've tried to set Schema.

schema: {total: 1000 }
 
but I didn't succedeed,

Any idea?

Note: The grid is built from server-side code, then redered and converted to KendoGrid, all things work as expected but page links are not displayed

Alexander Valchev
Telerik team
 answered on 19 Dec 2012
Narrow your results
Selected tags
Tags
Grid
General Discussions
Charts
Data Source
Scheduler
DropDownList
TreeView
MVVM
Editor
Window
Date/Time Pickers
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)
SPA
Filter
Drawing API
Drawer (Mobile)
Globalization
Gauges
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
OrgChart
TextBox
Effects
Accessibility
ScrollView
PivotGridV2
BulletChart
Licensing
QRCode
ResponsivePanel
Switch
Wizard
CheckBoxGroup
TextArea
Barcode
Collapsible
Localization
MultiViewCalendar
Touch
Breadcrumb
RadioButton
Stepper
Card
ExpansionPanel
Rating
RadioGroup
Badge
Captcha
Heatmap
AppBar
Loader
Security
Popover
DockManager
FloatingActionButton
TaskBoard
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
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?