I want to create a diagram sample app in Vue like https://demos.telerik.com/kendo-ui/html5-diagram-sample-app, but I do not find any sample about drag and drop the item between controls
Thanks,
I can't find anything in the docs about how to hide or show columns. I am using the width of the column but I would like to use property "hidden".

Hello,
I am trying the Kendo Grid Vue (native) and trying to see if it covers our needs. So far I really enjoyed how usable it is, however, could not figure out how to use a rowTemplate for the native grid.
Alternatively, I could use a row double-click event or find a way to add a clickable button with a link on the row.
I would appreciate any help or alternative solutions on this.
Thank you!

i'm using kendovue for an application that i'm creating, the thing is that i must send the bearer token on each request. but i'm unable to pass it to the server as the function assigned to the beforesend event has the context of the request and not the vue component.
dataSource: new kendo.data.DataSource({ page: 1, pageSize: 20, serverPaging: true, transport: { read: { url: "/api/users/list", dataType: "json", beforeSend: function (req) { req.setRequestHeader('Authorization', 'bearer ' + this.$auth.token()); } } }, schema: { total: function (data) { return data.Data.Total; }, data: function (data) { let d = data.Items; return d; } } }),
can someone point me on the right direction?
regards.
I am experimenting with integrating the Kendo UI for VUE components into our application to see if we can use this library within our company.
As a test I used the NumericTextBox input. This works fine until I change to another culture, nl-BE in my case. This culture uses a comma as the decimal separator instead of a dot.
When I focus the field and enter a number with 2 decimals (e.g. 100,25), then the decimal numbers are removed when I move focus out of the input. Seems like the formatting logic is dropping them. If I try a second them it will accept them, but behaviour is miss and fire. It might go wrong on another attempt.
I forked the NumericTextBox input demo to demonstrate the issue:
https://stackblitz.com/edit/6r5ytn
If I manually modify the numberFormat settings in the kendo.culture.nl-BE.js file and set to the English version it works fine.
Tested on Chrome, FireFox and Safari.

Hi,
i'm using a kendo-datasource-wrapper with a grid wrapped as well.
the thing is that from the server i'm getting this by design
{ result: true/false, data: [], // Array with the data for the grid message: '' // this one is in case of an exception this will show the message in the UI}
the thing is that i don't know how to parse that data to show it in the grid is there any way?
Thanks.
Regards!
I am currently trying out Kendo as a proof-of-concept for a component library solution; however, I am having trouble getting any sort of styling to work.
Using an import statement in my App.vue file and/or including the theme stylesheet in my HTML file seems to cause some strange issues.
It seems that the default themes for the grid(not sure where they are coming from) are overriding the themes that come from Kendo. An example of this is below. The <th> element being created by the Vue Grid tag is shown below:
<th colspan="1" rowspan="1" class="k-header" style="position: sticky; left: 0px; right: 0px; z-index: 1; background: rgb(246, 246, 246);"></th>
Is there any way I can ensure that styles are not put on the HTML elements by default? I am not adding these styles to the elements anywhere in my code, so I am not sure how to get rid of them or how to have the kendo theme override them.
The theme that I am trying to use was created using the vue-ui theme builder. I know that the theme is being used by the application because the grid has some of the theme styling, but some portions of it are being overridden.
The example that I followed to create my grid is below:
https://www.telerik.com/kendo-vue-ui/components/grid-native/custom-rendering/hierarchy/

Hi,
I'm looking for the best way to display a tooltip when hovering over the value of a cell (very useful for custom commands).
I have already defined a template for the line and it works:
<script id="rowTemplate" type="text/x-kendo-tmpl"><tr class="k-master-row" data-uid="#: uid #" role="row"><td role="gridcell"> #: OrderID # </td> <td role="gridcell"> #: ShipName #</td><td role="gridcell"> #: Freight #</td><td role="gridcell"> #: OrderDate #</td><br> </tr></script>
What is the best way to show a TootlTip for example hover "OrderID " value ?
Thanks in advance ;-)

SAMPLE https://stackblitz.com/edit/usjgwp?file=index.html
I want to show a number of kendo dropdownlist(s) on a page. The exact number depends on an API call. This API call will give me an array of objects. The objects have the following properties: Id, name, type, role and isSelected.
The number of dropdownlist that has to be shown on this page should be equal to the number of unique type values in the API response array. i.e, numberOfDropdowns = stakeholders.map(a => a.type).distinct().count().
Now, each dropdown will have a datasource based on the type property. i.e, For a dropdown for type = 1, dataSource will be stakeholders.filter(s => s.type == 1).
Also the default values in the dropdowns will be based on the isSelected property. For every type, only one object will have isSelected = true.
I have achieved these things by using the following code:
01.<template>02. <div03. v-if="selectedStakeholders.length > 0"04. v-for="(stakeholderLabel, index) in stakeholderLabels"05. :key="stakeholderLabel.Key"06. >07. <label>{{ stakeholderLabel.Value }}:</label>08. <kendo-dropdownlist09. v-model="selectedStakeholders[index].Id"10. :data-source="stakeholders.filter(s => s.type == stakeholderLabel.Key)"11. data-text-field="name"12. data-value-field="Id"13. ></kendo-dropdownlist>14. 15. <button @click="updateStakeholders">Update form</button>16. </div>17.</template>18. 19.<script>20.import STAKEHOLDER_SERVICE from "somePath";21.export default {22. name: "someName",23. props: {24. value1: String,25. value2: String, 26. },27. data() {28. return {29. payload: {30. value1: this.value1,31. value2: this.value232. },33. stakeholders: [],34. selectedStakeholders: [],35. stakeholderLabels: [] // [{Key: 1, Value: "Stakeholder1"}, {Key: 2, Value: "Stakeholder2"}, ... ]36. };37. },38. mounted: async function() {39. await this.setStakeholderLabels();40. await this.setStakeholderDataSource();41. this.setSelectedStakeholdersArray();42. },43. methods: { 44. async setStakeholderLabels() {45. let kvPairs = await STAKEHOLDER_SERVICE.getStakeholderLabels();46. kvPairs = kvPairs.sort((kv1, kv2) => (kv1.Key > kv2.Key ? 1 : -1));47. kvPairs.forEach(kvPair => this.stakeholderLabels.push(kvPair));48. },49. async setStakeholderDataSource() {50. this.stakeholders = await STAKEHOLDER_SERVICE.getStakeholders(51. this.payload52. );53. }54. setSelectedStakeholdersArray() {55. const selectedStakeholders = this.stakeholders56. .filter(s => s.isSelected === true)57. .sort((s1, s2) => (s1.type > s2.type ? 1 : -1));58. 59. selectedStakeholders.forEach(selectedStakeholder =>60. this.selectedStakeholders.push(selectedStakeholder)61. ); 62. },63. async updateStakeholders() {64. console.log(this.selectedStakeholders);65. }66. }67.};68.</script>The problem is that I am not able to change the selection in the dropdownlist the selection always remains the same as the default selected values. Even when I choose a different option in any dropdownlist, the selection does not actually change.
I've also tried binding like this:
<kendo-dropdownlist v-model="selectedStakeholders[index]" value-primitive="false" :data-source="stakeholders.filter(s => s.type == stakeholderLabel.Key)" data-text-field="name" data-value-field="Id" ></kendo-dropdownlist>
If I bind like this, I am able to change selection but then the default selection does not happen, the first option is always the selection option i.e, default selection is not based on the isSelectedproperty.
My requirement is that I have to show the dropdown with some default selections, allow the user to choose different options in all the different dropdowns and then retrieve all the selection then the update button is clicked.
UPDATE: When I use the first method for binding, The Id property of objects in the selectedStakeholders array is actually changing, but it does not reflect on the UI, i.e, on the UI, the selected option is always the default option even when user changes selection. Also when I subscribe to the change and select events, I see that only select event is being triggered, change event never triggers.

1
1
SAMPLE https://stackblitz.com/edit/usjgwp?file=index.html
I want to show a number of kendo dropdownlist(s) on a page. The exact number depends on an API call. This API call will give me an array of objects. The objects have the following properties: Id, name, type, role and isSelected.
The number of dropdownlist that has to be shown on this page should be equal to the number of unique type values in the API response array. i.e, numberOfDropdowns = stakeholders.map(a => a.type).distinct().count().
Now, each dropdown will have a datasource based on the type property. i.e, For a dropdown for type = 1, dataSource will be stakeholders.filter(s => s.type == 1).
Also the default values in the dropdowns will be based on the isSelected property. For every type, only one object will have isSelected = true.
I have achieved these things by using the following code:
01.<template>02. <div03. v-if="selectedStakeholders.length > 0"04. v-for="(stakeholderLabel, index) in stakeholderLabels"05. :key="stakeholderLabel.Key"06. >07. <label>{{ stakeholderLabel.Value }}:</label>08. <kendo-dropdownlist09. v-model="selectedStakeholders[index].Id"10. :data-source="stakeholders.filter(s => s.type == stakeholderLabel.Key)"11. data-text-field="name"12. data-value-field="Id"13. ></kendo-dropdownlist>14. 15. <button @click="updateStakeholders">Update form</button>16. </div>17.</template>18. 19.<script>20.import STAKEHOLDER_SERVICE from "somePath";21.export default {22. name: "someName",23. props: {24. value1: String,25. value2: String, 26. },27. data() {28. return {29. payload: {30. value1: this.value1,31. value2: this.value232. },33. stakeholders: [],34. selectedStakeholders: [],35. stakeholderLabels: [] // [{Key: 1, Value: "Stakeholder1"}, {Key: 2, Value: "Stakeholder2"}, ... ]36. };37. },38. mounted: async function() {39. await this.setStakeholderLabels();40. await this.setStakeholderDataSource();41. this.setSelectedStakeholdersArray();42. },43. methods: { 44. async setStakeholderLabels() {45. let kvPairs = await STAKEHOLDER_SERVICE.getStakeholderLabels();46. kvPairs = kvPairs.sort((kv1, kv2) => (kv1.Key > kv2.Key ? 1 : -1));47. kvPairs.forEach(kvPair => this.stakeholderLabels.push(kvPair));48. },49. async setStakeholderDataSource() {50. this.stakeholders = await STAKEHOLDER_SERVICE.getStakeholders(51. this.payload52. );53. }54. setSelectedStakeholdersArray() {55. const selectedStakeholders = this.stakeholders56. .filter(s => s.isSelected === true)57. .sort((s1, s2) => (s1.type > s2.type ? 1 : -1));58. 59. selectedStakeholders.forEach(selectedStakeholder =>60. this.selectedStakeholders.push(selectedStakeholder)61. ); 62. },63. async updateStakeholders() {64. console.log(this.selectedStakeholders);65. }66. }67.};68.</script>
The problem is that I am not able to change the selection in the dropdownlist the selection always remains the same as the default selected values. Even when I choose a different option in any dropdownlist, the selection does not actually change.
I've also tried binding like this:
1.<kendo-dropdownlist2. v-model="selectedStakeholders[index]"3. value-primitive="false"4. :data-source="stakeholders.filter(s => s.type == stakeholderLabel.Key)"5. data-text-field="name"6. data-value-field="Id"7. ></kendo-dropdownlist>
If I bind like this, I am able to change selection but then the default selection does not happen, the first option is always the selection option i.e, default selection is not based on the isSelectedproperty.
My requirement is that I have to show the dropdown with some default selections, allow the user to choose different options in all the different dropdowns and then retrieve all the selection then the update button is clicked.
UPDATE: When I use the first method for binding, The Id property of objects in the selectedStakeholders array is actually changing, but it does not reflect on the UI, i.e, on the UI, the selected option is always the default option even when user changes selection. Also when I subscribe to the change and select events, I see that only select event is being triggered, change event never triggers.
