Telerik Forums
Kendo UI for Vue Forum
1 answer
99 views

when i change the data-source the console prints some error.

This is the template code

<kendo-datasource
  :ref="'datasource'"
  :data="chart">
</kendo-datasource>
<kendo-stockchart
  :data-source-ref="'datasource'"
  :date-field="'date'"
  :category-axis-labels-rotation="'auto'"
  :navigator-series="navigatorSeries"
  :navigator-category-axis-labels-rotation="'auto'"
  :theme="'sass'">
    <kendo-chart-series-item
      :type="'line'"
      :field="'value'">
    </kendo-chart-series-item>
 </kendo-stockchart>

 

And this is the JS

export default {
  name: "RatingHistory",
  components: {
    StockChart,
    DataSource
  },
  data(){
    return{
      services:Object,
      historicData:[],
      fields: {
        date: { type: 'date' }
      },
      navigatorSeries: {
        type: 'area',
        field: 'value'
      }
    }
  },
  computed:{
    chart(){
      return this.historicData
    }
  },
  created(){
    this.services = new Services()
    this.fetchData()
  },
  methods:{
    async fetchData(){
      let result
      try {
        result = await this.services.getRatingHistory()
      } catch(e) {
        console.log("Error getting data--->", e)
      }
      if(result.successful && result.statusCode === 200){
        this.historicData = result.data
      }
    }
  }
};

 

The chart render as expected, but i always see this error.

 

any light on how to prevent it ?

 

Joana
Telerik team
 answered on 13 Nov 2018
1 answer
592 views

How do you set another culture to be the default?

Trying to set Norwegian as the default  the currency format is correct in Grid

Nencho
Telerik team
 answered on 02 Nov 2018
2 answers
111 views

Hello All ,

We are trying to use a graph with negative stacks. I have looked through all the available Kendo charts and graphs but could not find a similar one. Can you please point me in the right direction if you came across a similar situation. I have attached the graph for reference.

Thank you

 

IT
Top achievements
Rank 1
 answered on 01 Nov 2018
16 answers
635 views

So how do we add a Detail Template? The docs are seriously lacking for Vue wrappers!!

I have this - which i assume would reference a $ref od "detail" but instead outputs a string

<kendo-grid ref="grid"
:data-source-ref="'dataSource'"
:menu="true"
:sortable='true'
:pagable="true"
:groupable="false"
:detail-template="'detail'">

Dimitar
Telerik team
 answered on 01 Nov 2018
2 answers
119 views

 Hello,

I'm building a general modal component using the Window. Is it possible to pass a Vue component as template for a kendo Window?

Thanks!

 

Cristiano
Top achievements
Rank 1
 answered on 01 Nov 2018
1 answer
70 views

Hello,

 

I have noticed that the typescript definitions forn the kendo-inputs-vue-wrapper are missing in the latest version 2018.3.1025. Considering I am prototyping using Kendo and Vue for a back-end oriented team of developers, typescript definitions are a definite must. Is there a reason they are missing?

 

Greetings, 

Sebastiaan Steenbrink

Joana
Telerik team
 answered on 31 Oct 2018
1 answer
129 views

I set destroy as a function, i want return error, don't delete data, but, this not working.

 

destroy: function(options) {
    options.error(); // not working
}
Dimitar
Telerik team
 answered on 30 Oct 2018
3 answers
165 views

Hi,

I tried to dynamically render sheets in a spreadsheet using v-for but I could only have one sheet.

The code is something like blow

  kendo-spreadsheet(ref="spreadsheet")
      kendo-spreadsheet-sheet(v-for="sheet in sheets" :name="sheet" :data-source="rows")

 

Is v-for supported and what's the right way?

 

Many thanks

Plamen
Telerik team
 answered on 26 Oct 2018
7 answers
560 views

Hi All,

I'm testing the Kendo UI Vue-wrappers and notice an issue with the masked text box. When just loading the page, the input looks fine. But after entering data and exiting the field, the borders go away. First I thought I was doing something wrong, but then I noticed that example page does the same thing:

https://www.telerik.com/kendo-vue-ui/components/inputs/maskedtextbox/

This behavior, does not exists, for example, in the Angular version:

https://www.telerik.com/kendo-angular-ui/components/inputs/maskedtextbox/

is this a bug and if so, where can I report it?

 

Thanks!

 

 

Neli
Telerik team
 answered on 17 Oct 2018
3 answers
122 views

Hi,

I'm evaluating the pivot grid as an alternative to writing a proprietary multidimensional grid. (No-brainer ;) )

However, I can't seem to find the right way to tweak the XML for it to use it.
I've followed an ADOMD example I found here: https://www.telerik.com/support/code-library/bind-to-adomd-client.

I'm sure I've just messed up what I try to feed it with regards to text/xml/xmla in the different fields, but it still eludes me.
Any hints appreciated.

Here's my vue file, and below it the header of a response:

01.<template>
02.    <div>
03.        <div>Hello world!</div>
04. 
05.        <kendo-pivotdatasource ref="pivotdatasource"
06.                               :transport="transport"
07.                               :type="'xmla'"
08.                               :schema-type="'xml'"
09.                               :schema-cube="schemaCube"
10.                               :measures="measures">
11.            <kendo-pivot-column :name="'[Grossister].[Navn].Members'"></kendo-pivot-column>
12.            <kendo-pivot-row :name="'[Organisasjon].[Organisasjon].Members'"></kendo-pivot-row>
13.        </kendo-pivotdatasource>
14. 
15.        <kendo-pivotconfigurator id="configurator"
16.                                 class="hidden-on-narrow"
17.                                 :data-source-ref="'pivotdatasource'"
18.                                 :filterable="true"
19.                                 :height="570">
20.        </kendo-pivotconfigurator>
21. 
22.        <kendo-pivotgrid id="pivotgrid"
23.                         class="hidden-on-narrow"
24.                         :data-source-ref="'pivotdatasource'"
25.                         :filterable="true"
26.                         :columnWidth="120"
27.                         :height="570">
28.        </kendo-pivotgrid>
29.    </div>
30.</template>
31.<script>
32.        import Vue from "vue";
33.        import '@progress/kendo-ui';
34. 
35.        import {
36.            PivotGrid,
37.            PivotConfigurator
38.        } from '@progress/kendo-pivotgrid-vue-wrapper';
39. 
40.        export default {
41.            name: "kendo-test",
42.            props: ["report"],
43.            components: {
44.                PivotGrid,
45.                PivotConfigurator
46.            },
47.            data: function () {
48.                return {
49.                    measures: ['[Measures].[Antall linjer]'],
50.                    schemaCube: {
51.                        dimensions: {
52.                            Grossister: { caption: 'Alle grossister' },
53.                            Organisasjon: { caption: 'Alle medlemmer' },
54.                        },
55.                        measures: {
56.                            'Antall linjer': { field: 'Antall linjer', aggregate: 'sum' },
57.                        }
58.                    },
59.                    transport: {
60.                        connection: {
61.                            catalog: "NRATabularDW",
62.                            cube: "Model"
63.                        },
64.                        read: {
65.                            url: "/api/report/kendoquery",
66.                            dataType: "xml",
67.                            contentType: "text/xml",
68.                            type: "POST",
69.                            error: function (e) {
70.                                debugger;
71.                            },
72.                            dataFilter: function(data, type) {
73.                                return data;
74.                            }
75.                        },
76.                        discover: {
77.                            url: "/api/report/kendodiscover",
78.                            dataType: "xml",
79.                            contentType: "text/xml",
80.                            type: "POST"
81.                        }
82.                    }
83.                }
84.            },
85.            methods: {
86. 
87.            }
88.        }
89.</script>
01.<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope/">
02.    <soap:Body>
03.        <ExecuteResponse>
04.            <return>
05.                <root xmlns="urn:schemas-microsoft-com:xml-analysis:mddataset" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msxmla="http://schemas.microsoft.com/analysisservices/2003/xmla">
06.                    <xs:schema targetNamespace="urn:schemas-microsoft-com:xml-analysis:mddataset" elementFormDefault="qualified" xmlns="urn:schemas-microsoft-com:xml-analysis:mddataset" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msxmla="http://schemas.microsoft.com/analysisservices/2003/xmla">
07.                        ...
08.                    </xs:schema>
09.                    <OlapInfo>...</OlapInfo>
10.                    <Axes>...</Axes>
11.                    <CellData>...</CellData>
12.                </root>
13.            </return>
14.        </ExecuteResponse>
15.    </soap:Body>
16.</soap:Envelope>
Lars-Erik
Top achievements
Rank 1
 answered on 09 Oct 2018
Narrow your results
Selected tags
Tags
Grid
General Discussions
DropDownList
DatePicker
Editor
Grid wrapper
Scheduler
DropDownTree wrapper
Spreadsheet wrapper
Input
MultiSelect
Calendar
NumericTextBox
DateInput
DateTimePicker
Editor wrapper
DataSource wrappers (package)
Scheduler wrapper
Styling / Themes
Chart wrappers (package)
Gantt wrapper
Localization
Chart
Checkbox
ComboBox
Window
Pager
Error
Upload
DropDownList wrapper
Popup
Form
Tooltip
TreeView
Dialog
MultiSelect wrapper
NumericTextBox wrapper
Slider
Toolbar wrapper
Upload wrapper
Validator wrapper
ColorPicker
Accessibility
AutoComplete
AutoComplete wrapper
Button wrapper
ComboBox wrapper
ContextMenu wrapper
Licensing
ListBox wrapper
ListView wrapper
Map wrapper
MaskedTextBox
Menu wrapper
MultiColumnComboBox wrapper
Splitter wrapper
TabStrip wrapper
TimePicker
TreeView wrapper
TabStrip
Card
RadioButton
FloatingLabel
TextArea
Drawer
Stepper
DateRangePicker
Gauge
Splitter
PanelBar
Notification
RangeSlider
Menu
TreeList
Toolbar
Button
ListView
FontIcon
SVGIcon
Animation
Barcode wrapper
ButtonGroup wrapper
Chat wrapper
ColorPicker wrapper
DateInput wrappers (package)
Diagram wrapper
Dialog wrapper
Gauges wrappers (package)
MaskedTextBox wrapper
MediaPlayer wrapper
Notification wrapper
Pager wrapper
PanelBar wrapper
PivotGrid wrapper
QRCode wrapper
RangeSlider wrapper
ScrollView wrapper
Security
Slider wrapper
Switch wrapper
Tooltip wrapper
TreeList wrapper
TreeMap wrapper
Window wrapper
Avatar
StockChart
Sparkline
RadioGroup
Hint
Loader
ProgressBar
Switch
Wizard
Skeleton
ScrollView
ColorGradient
ColorPalette
FlatColorPicker
ButtonGroup
TileLayout
ListBox
ExpansionPanel
BottomNavigation
AppBar
Signature
ChunkProgressBar
VS Code Extension
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?