Hello Folks,
After updating vue to lattest version, I have this error after each 'npm run build' command:
Maybe, you have some project example with vue 3 and these libs (@progress/kendo-base-components-vue-wrapper, @progress/kendo-base-components-vue-wrapper etc).
Here is my packege.json:
{
Thanks.
Dear Telerik Forum Admins,
Please find attached a screenshot of my current kendo-grid setup and DataSource.
I have implemented the excel functionality on my Vue Grid Wrapper, but the excel only contains the amount of records specified within the pageSize property of my DataSource.
I found a similar issue on the Angular form mentioning the fetchData property on the Angular Grid, but it is not clear to me how this should be implemented within Vue.js.
Could you please assist me in being able to implement both functionalities?
Kind regards,
Natasha L
Hello,
I would like to call a component that contains only the custom edit template (to create a new task or edit) for my scheduler.
I followed this solution but the edit window just displays "[Object object]"
The code of scheduler
<kendo-scheduler id=
"scheduler"
:data-source=
"localDataSource"
:event-template=
"eventTemplate"
:editable=
"{template:editTemplate}"
>
The code of the method editTemplate()
methods: {
editTemplate:
function
(){
return
{
template: Vue.component(CustomEditTemplate.name, CustomEditTemplate),
}
}
},
The code of the component that contains the custom template
<template>
<div class=
"k-edit-form-container"
>
<p> Titre <input type=
"text"
/> </p>
<p>
<span >Start <input data-role=
"datetimepicker"
name=
"start"
/> </span>
<span >End <input data-role=
"datetimepicker"
name=
"end"
/> </span>
</p>
</div>
</template>
<script>
export
default
{
name:
"CustomEditTemplate"
,
}
</script>
I think the problem comes from the method editTemplate but I don't undestand why.
Anyone can help me ?
Thanks.
Hello. I am using a vue class component to create a Vue Grid in Vue 2.6.10 as per the project requirement. It uses typescript.
My issue is with the "Edit" button in the slot that updates dataItem.inEdit.
The emit is happening from the slot to the parent component. But the child component i.e the slot is not dynamically updating the "Edit" button to show Update/Cancel based on the changed dataItem.inEdit = true value. When i checked in vue dev tool, the slot inEdit value gets updated only when i click on the parent component and click back on the child component.
Basically it's not reloading the slot section based on the updated value of inEdit. This is only happening in Vue 2. I tried the same in vue3 and it works fine with class component and typescript libraries. Can you please help. I attached my code to the link below. It's not compilable since the stackblitz is not set up for my requirements but you can see the code.
https://stackblitz.com/edit/vue-r9u8vg?file=src/components/HelloWorld.vue
Hi,
Im using kendo Scheduler in my vue project. I need to customize the scheduler header. First image is the default header I'm getting. I need to customize it as shown in the second image.I need to show the date and then a button to change the date and finally a button to go to current date. Is there a way to customize this scheduler header.
Thanks in advance.
I am using the Grid, but manipulating the URL with search parameters. The first page works great, showing the total rows, number of pages, etc. When navigating to other pages, I can see that the grid is successfully generating and hitting the URL. Within the change() event, I can see the correct rows returned. However, the grid is not updating with the new content. Is there something else I need to do?
Here is the grid definition
<
kendo-grid
ref
=
"gridComponent"
:data-source
=
"quotes"
:auto-bind
=
"true"
:selectable
=
'true'
:sortable
=
'true'
:resizable
=
'true'
:pageable-page-size
=
"pageSize"
:pageable-page-sizes
=
'true'
:pageable-button-count
=
'5'
:reorderable
=
'true'
:no-records
=
"noRecords"
v-on:databinding
=
"onDataBinding"
v-on:databound
=
"onDataBound"
v-on:change
=
"rowSelected"
:sort
=
"sortFilter"
>
computed: {
quotes: function () {
let vue = this
// eslint-disable-next-line
return new kendo.data.DataSource({
transport: {
read: {
url: this.queryString,
beforeSend: function (xhr) {
// xhr.setRequestHeader('Access-Control-Allow-Origin', '*')
xhr.setRequestHeader('Authorization', Constants.AUTH_KEY)
},
type: 'GET',
dataType: 'json'
}
},
schema: {
total: function (response) {
let records = 0
if (response && response.length > 0) {
records = response[0].Count
}
return records
}
},
pageable: 'true',
pageSize: 10,
serverPaging: 'true',
// testing the change event handler
change: function (e) {
// let data = this.data()
},
requestStart: function () { vue.loading = true },
requestEnd: function () { vue.loading = false }
})
},
queryString () {
var me = this.$store.getters.user
var agentNumber = me.userName
var searchURLstring = `${Constants.SEARCH_URL}?AgentNumber=${agentNumber}`
if (this.currentPolicyNo) {
searchURLstring += `&QuoteNumber=${this.currentPolicyNo}`
}
if (this.currentInsuredName) {
searchURLstring += `&InsuredName=${this.currentInsuredName}`
}
if (this.currentAddr1) {
searchURLstring += `&Address=${this.currentAddr1}`
}
if (this.currentSortField) {
searchURLstring += `&sortField=${this.currentSortField}`
searchURLstring += `&sortDirection=${this.currentSortField}`
}
searchURLstring += `&SearchScope=${this.searchScope}`
return searchURLstring
}
}
Hello,
I'm trying to use the custom kendo scss theme inside my Vite project but I'm getting errors when it tries to compile the theme.
Here I've made a reproduction of the problem:
Vitejs (forked) - StackBlitz
Does anyone know what I'm missing here?
Thanks in advance,
Vincent
Hi,
I have simple two questions.
I'm comparing both Kendo Vue Native components and wrapper components to migrate from Kendo jQuery.
Wrapper components
-> If I set :columnMenu="true", I can see a list of menus like sort ascending and it also has 'Columns' menu which shows or hides columns by checking or unchecking check boxes.
However When I implement same components by using native components, the list doesn't show 'Column' menu.
Can someone tell how to show the column menu???
And, if I already have license for jQuery, is it possible to get license for Vue without extra payment??
The company I work at bought Telerik Kendo UI and we've been using it for a couple of months now. After spending many weeks working with this product, I'm curious to take a read on how other people feel about it. Note I've only ever used Bootstrap, Ionic, and other open source frameworks prior to this.
From what I can tell:
Pros:
Builds awesome UI with very minimal design effort
Works incredibly well with entity framework back end
Handles data view related logic internally and requires minimal effort
Cons:
Obfuscated source code due to not being open source, means it's impossible to figure out what the hell it's doing
Workarounds are a pain in the ass
They do horribly sadistic things to markup and CSS
Documentation is terrible, often omitting example code, or contextual code
So all that said, how do you guys feel about Kendo UI?