Telerik Forums
Kendo UI for jQuery Forum
1 answer
278 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
100 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
82 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
195 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
87 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
2 answers
165 views
If I add a Polygon to my map's shapes I can set it's fill color, but how can I access the stroke to set the width and color.  In particular, what if I'm adding a MultiLineString instead of a Polygon.  I need to make it wider than a single pixel, and I'd like to be able to make it something other than white as well.
T. Tsonev
Telerik team
 answered on 11 Jun 2015
1 answer
804 views

Is it possible to layout a template to display my data in 2 columns?

 

I am using a Kendo window with a Kendo template (similar to the online examples)

 

No matter what I try I am getting the 2 columns to stack on top of each other.

 Example:

  I am message

  I am message response

Where I want to see

I am message     I am message response

 

 Currently I have the following:

    @(Html.Kendo().Window().Name("MessageModal").Title("View Message").Visible(false).Modal(true).Draggable(true).Width(1200).Resizable()
        .Content(@<text>
        <script type="text/x-kendo-template" id="messageTemplate">
    <div class="container-fluid">
        <div class="row">
            <div id="details-container" class="col-sm-6" style="background-color:lavender;">
                    <div><strong>A Message</strong> </div>*@
                <div id="myMessage"></div>
            </div>
            <div id="details-container" class="col-sm-3" style="background-color:lavenderblush;">
                <div> <strong>A Response Message</strong></div>
                <div id="myMessageResponse"></div>
            </div>
        </div>
    </div>
</script>

Alexander Popov
Telerik team
 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
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
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?