Telerik Forums
Kendo UI for jQuery Forum
3 answers
2.0K+ views
Dear support

Currently working on a MVC 4 project, I get an error when using a group footer template for a field in a grid:
groupFooterTemplate: "#= sum #"
The above line results in an error

"Uncaught ReferenceError: sum is not defined"

when grouping the grid.

I've included a stand-alone proof-of-concept project. The file "Index.cshtml" contains some comments in line 91 and 99 to highlight the row that procudes the error.

My question is:

Could you please kindly take a look at my attached project and tell me how I should change the code so that the sum is correctly printed in the footer of a cell?

Thanks
Uwe
TISAL
Top achievements
Rank 1
 answered on 12 Jun 2015
2 answers
194 views

Hi,

I have a .svg file and need to rewrite it to a diagram,

it is possible? How i suppose to do that if it is?

Pablo
Top achievements
Rank 1
 answered on 12 Jun 2015
1 answer
280 views

Hi,

 I have an AngularJS application and I'm trying to add a grid there, but it doesn't work. Nothing appears on the screen and no errors in browser console. Here is my code which works on your Dojo page but doesn't on my page:

HTML:

<kendo-grid k-options="vm.mainGridOptions"></kendo-grid>

 JS:

vm.mainGridOptions = {
            dataSource: {
                type: "odata",
                transport: {
                    read: "http://demos.telerik.com/kendo-ui/service/Northwind.svc/Employees"
                }
            },
            sortable: true,

            columns: [{
                field: "FirstName",
                title: "First Name",
                width: "120px"
            }, {
                    field: "LastName",
                    title: "Last Name",
                    width: "120px"
                }, {
                    field: "Country",
                    width: "120px"
                }, {
                    field: "City",
                    width: "120px"
                }, {
                    field: "Title"
                }]
        };

 The only difference is that I use Controller as syntax so there is no $scope. â€‹

I added following references: 

     <link href="/content/assets/kendoui-2015.1.429/kendo.common.min.css" rel="stylesheet" />
    <link href="/content/assets/kendoui-2015.1.429/kendo.default.min.css" rel="stylesheet" />
    <link href="/content/assets/kendoui-2015.1.429/kendo.dataviz.min.css" rel="stylesheet" />
    <link href="/content/assets/kendoui-2015.1.429/kendo.dataviz.default.min.css" rel="stylesheet" />

 

    <script src="~/content/assets/kendoui-2015.1.429/kendo.all.min.js"></script>
    <script src="~/content/assets/kendoui-2015.1.429/kendo.angular.min.js"></script>

 although it seems kendo.angular.min.js is not required.

 

 I have a feeling there is something wrong with kendo-grid directive, as there are no errors when I specify incorrect datasource.

 Can anyone help? 

 Thanks

Zak
Top achievements
Rank 1
 answered on 12 Jun 2015
2 answers
103 views

Hi,

I try to drag an Event from a grid and to drop it on the Scheduler. This is working so far but there is a Problem with the datasource.Transfer.create Event. The Event will not be fired so can't insert the data in my backend Database.

Here is how i do it: http://dojo.telerik.com/IJesA

Johann
Top achievements
Rank 1
 answered on 12 Jun 2015
1 answer
85 views

Hi,

I try to use a Scheduler as a drop target for Events. in my view is a Scheduler and a grid. I want to drag an Event from the grid and drop it on the Scheduler. This is working but the Scheduler does not fire the datasource.Transport.create Event to the backend.

 

Here is how i do it: http://dojo.telerik.com/IJesA  (The Data in my example is local so you have to change it for tests)

Vladimir Iliev
Telerik team
 answered on 12 Jun 2015
1 answer
201 views

I was wondering if, when working with a remote datasource, it's possible to provide a list of groups to the Kendo UI grid, and then when a group is expanded, load some containing records (or subgroups), and page through those?  It's possible that there could be many thousands of rows within one group, all of which I cannot send to the browser.

I was able to provide a set of groups, but it seems as if I have to also provide the group its full list of items, which I do not want to do.

Alexander Valchev
Telerik team
 answered on 12 Jun 2015
5 answers
4.1K+ views
How can I clear the validation messages? (reset this part of the form).

Also more importantly, how can I test if fields are valid, without displaying the messages?
Alexander Valchev
Telerik team
 answered on 12 Jun 2015
12 answers
1.5K+ views
Hello,
I want to display on tooltip another dataitems except the x category and y value. eg. i want to display in a timeplot how much monoey spends in some months, but i want to display on tooltip who spends the money and I icnlude who spends on json file, eg:

[{
    "name" : "john" ,
    "amount" : 724456 ,
    "date" : "2012-02-05" 
  },
{
    "name" : "Nick" ,
    "amount" : 290000 ,
    "date" : "2012-02-01" 
  } ]

How can i display the "name" on tooltip, if the category is "date" and value is "amount"??
Iliana Dyankova
Telerik team
 answered on 12 Jun 2015
5 answers
1.2K+ views
The grid pager looks strange. I see following buttons:
- first
- previous
- CURRENT PAGE
- 1
- 2
- 3
- next
- last

The button current page shows the number of the current page and is always disabled. See the attached screenshot.

I am using a custom script kendo.custom.min.js that I have created using the "Kendo UI Custom Download" tool. When I use kendo.all.js instead then the pager looks OK. I have included following components in my custom script:
- Framework
    - AngularJS Directives
- Web
    - Grid
        - Paging
        - Selection
        - Grid adaptive rendering

Kind regards
Alexandra
Joe
Top achievements
Rank 2
 answered on 11 Jun 2015
2 answers
92 views

I create recurring event with couple exceptions.

When I open the series to edit and change "Repeat" to Never and save this event, exceptions still exist on the scheduler.

If i try to open the exception to edit this doing unpredictable behavior.

Any thoughts?

Max
Top achievements
Rank 1
 answered on 11 Jun 2015
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
Drag and Drop
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
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?