Telerik Forums
Kendo UI for Vue Forum
0 answers
2 views

when trying to import any of Kendo Vue's types to have IDE autocomplete, my vue compiler crashes with

[plugin:vite:vue] [@vue/compiler-sfc] Failed to resolve import source "@progress/kendo-vue-scheduler".

import this this

import {
    SchedulerViewItem,
    SchedulerViewItemProps,
} from "@progress/kendo-vue-scheduler";

Is there any way around this? The autocompletion is working fine and I am getting the types to my IDE, but the project just won't launch.

EDIT

I changed the code to this:

interface Props extends /* @vue-ignore */ SchedulerViewItemProps {
    overlayPanel?: InstanceType<typeof OverlayPanel>;
    startDraggingPlannedPlanning: (
        event: MouseEvent,
        planningId: number,
    ) => void;
}

and now it is working. But still, any other way to do this?

Jasper
Top achievements
Rank 1
 updated question on 18 Apr 2024
1 answer
6 views

I have several questions here:

  1. How can I implement my own tools (Vue component)?
  2. How to implement an emoji picker (Vue component)?
  3. How to implement mentions (@name) with a Vue component?

I can't find anything about it in the docs.

Filip
Telerik team
 answered on 17 Apr 2024
0 answers
3 views

Hi, kendo

 

I used the grid for reference "https://www.telerik.com/kendo-vue-ui/components/grid/columns/locked/"
At the same time, I added resizable props.

like this,

<template>
  <grid
    :style="{ height: '400px', width: '500px' }"
    :data-items="products"
    :reorderable="true"
    @columnreorder="columnReorder"
    :columns="columns"
    :resizable="true"
  >
  </grid>
</template>
<script>
import { Grid } from '@progress/kendo-vue-grid';
import { products } from './products';
export default {
  components: {
    grid: Grid,
  },
  data: function () {
    return {
      products: this.createRandomData(),
      columns: [
        { field: 'ProductID'title: 'ID'width: '45px'locked: true },
        { field: 'ProductName'title: 'Name'width: '250px'locked: true },
        {
          field: 'Category.CategoryName',
          title: 'CategoryName',
          width: '150px',
          locked: true,
        },
        { field: 'UnitPrice'title: 'Price'width: '90px' },
        { field: 'UnitsInStock'title: 'In stock'width: '90px' },
        { field: 'UnitsOnOrder'title: 'On order'width: '90px' },
        { field: 'Discontinued'locked: truewidth: '120px' },
        {
          field: 'QuantityPerUnit',
          title: 'Additional details',
          width: '250px',
        },
      ],
    };
  },
  methods: {
    columnReorder: function (options) {
      this.columns = options.columns;
    },
    createRandomData() {
      return products;
    },
  },
};
</script>

 

I resized "Name" column, then I could see the bug that a gap has occurred between Name and CategoryName.

Can I fix it?

 

fingate
Top achievements
Rank 1
Iron
 asked on 17 Apr 2024
1 answer
8 views

Hello Kendo VUE Forum, does anyone have an idea how to integrate an emoji picker into the VUE editor?

Filip
Telerik team
 answered on 16 Apr 2024
1 answer
9 views

Hi,


Is it possible to implement a filter in a multiSelectTree so that when a search term matches a parent item, it automatically displays all of its children as well?

example:

data = [
    {
        text: 'Furniture'id: 1items: [
            { text: 'Tables & Chairs'id: 2 },
            { text: 'Sofas'id: 3 },
            { text: 'Occasional Furniture'id: 4 }
        ]
    }, {
        text: 'Decor'id: 5items: [
            { text: 'Bed Linen'id: 6 },
            { text: 'Curtains & Blinds'id: 7 },
            { text: 'Carpets'id: 8 }
        ]
    }
];

 

For instance, if one were to search for "decor," would the system also show "Bed Linen," "Curtains & Blinds," and "Carpets"?

Thanks in advance,
Ziggy

Konstantin Dikov
Telerik team
 answered on 15 Apr 2024
1 answer
5 views

Hello,

When I use TextBox in Navtive components of Vue3, I want to distinguish between the input value and the displayed value.

For example,
I uesd TextBox like this.

<TextBox v-model="inputValue" />

If I enter "1234567", "1,234,567" will be displayed. but inputValue has "1234567".
or
If I enter "AbcD", "abcd" will be displayed. but inputValue has "AbcD".

Can I only change the displayed value while maintaining the value I entered?
ps... I don't want use the NumericTextBox. because of lowercase and uppercase.

Filip
Telerik team
 answered on 11 Apr 2024
0 answers
8 views

Hello! 

We want to customize the InsertImage tool in the Editor, as we want to allow image upload. We found the React Documentation, and that's exactly what we want in Vue.

React Editor Component & Paste, Drag and Drop, and Upload Images - KendoReact Docs & Demos (telerik.com)

In React, (see this example main.tsx - nodebox - CodeSandbox) it looks straightforward to stop using the InsertImage from EditorTools and use the one in the example. 

import { InsertImage } from './insertImageTool';

// const { InsertImage } = EditorTools;

But in Vue (main.vue - nodebox - CodeSandbox), how do we replace the InsertImage by the implementation in insertImageTool? 

      tools: [
        ["InsertImage"]
      ],


Thank you 

Lucía

Lucía
Top achievements
Rank 1
 updated question on 11 Apr 2024
1 answer
5 views

We are starting to use Kendo UI for Vue HTML Editor for an application with support with multiple languages. 

Is there any way to make a contribution to the community translations?

I've seen some funny things (like translating "Audaz" for "Bold") in the github repo for react, and missing items for vue

kendo-react-messages/messages/es-ES/es-ES.json at master · telerik/kendo-react-messages · GitHub

  "editor": {
        "bold": "Audaz",

 

Lucía

Vessy
Telerik team
 answered on 11 Apr 2024
1 answer
6 views

So this is my datasource... I would assume the schema is what it would read to render the properties in the sheet, but it's just verbatim taking the JSON object and plopping it in.  So example, there's a LastUpdated property on each object, it's not defined in the schema... but it's rendering in the sheet.

Am I missing something?

 dataSource: {
            transport: {
                dataType: "json",
                read: {
                    url: this.baseUrl + "/groups?format=json",
                    type: "GET",
                    data: function () {
                        return {
                            cohort: $editorData.cohort
                        };
                    }
                },
                /*
                update: {
                    url: baseUrl + "/groups?format=json",
                    dataType: "json",
                    type: "POST"
                },
                */
            },
            requestEnd: function (e) {
                var response = e.response;
                var type = e.type;
                
                console.log("requestEnd", type, response);
            },
            schema: {
                model: {
                    id: "UserId",
                    fields: {
                        UserName: { type: "string", editable: false },
                        FirstName: { type: "string", editable: false },
                        LastName: { type: "string", editable: false },
                        Campus: { type: "string", editable: false },
                        Cohort: { type: "number", editable: false },
                        MF1: { type: "number" },
                        MF3: { type: "number" },
                        MF4: { type: "number" },
                        MF2: { type: "number" },
                        MF5: { type: "number" },
                        ClerkshipGroup: { type: "number" },
                        PediatricsStream: { type: "number" },
                        ProCompGroup: { type: "number" }
                    }
                }
            },



            <kendo-spreadsheet 
              ref="spreadsheet"
             :toolbar="false" 
             :sheetsbar="false"
             :excel-proxy-URL="'/RestApi/utility/proxy/save'"
             :pdf-proxy-URL="'/RestApi/utility/proxy/save'"
             :columns="15"
             :rows="300"
             style="width: 100%; height: 800px">
                        <kendo-spreadsheet-sheet 
                            :name="'Groups'" 
                            :data-source="dataSource"
                            :rows="rows"
                            :columns="columns"
                        >
                        </kendo-spreadsheet-sheet>
            </kendo-spreadsheet>

Vessy
Telerik team
 answered on 10 Apr 2024
1 answer
8 views

Hi all,

I cannot find any way to increase the event height of the kendo native scheduler component for vue. when artificially changing it for the .k-event class the top values don't line up, how do I make this bigger? In the meantime I also want to make the width the same as the actual value and not be the correct width -20px (as in the picture)

The height should be like the box, and the width should increase so the whitespace where the arrow is pointing is not there. Can anyone help with this?

 

Discussion: I think its awful how Kendo keeps pushing the Native Vue component in favor of the JQuery one, but the vue native one is just so outrageous, I wrote about 800 lines just to fix stupid rendering bugs with this. When will this get better?

Konstantin Dikov
Telerik team
 answered on 08 Apr 2024
Narrow your results
Selected tags
Tags
Grid
General Discussions
DropDownList
Grid wrapper
DatePicker
DropDownTree wrapper
Editor
Scheduler
Spreadsheet wrapper
Input
Editor wrapper
MultiSelect
DateInput
NumericTextBox
Scheduler wrapper
Styling / Themes
Calendar
DataSource wrappers (package)
DateTimePicker
Gantt wrapper
Localization
Pager
Chart
Checkbox
Upload
Chart wrappers (package)
DropDownList wrapper
Window
Form
Tooltip
TreeView
ComboBox
Dialog
MultiSelect wrapper
NumericTextBox wrapper
Popup
Toolbar wrapper
Upload wrapper
Validator wrapper
Error
ColorPicker
Accessibility
AutoComplete
AutoComplete wrapper
Button wrapper
ComboBox wrapper
ContextMenu wrapper
Licensing
ListBox wrapper
ListView wrapper
Map wrapper
MaskedTextBox
Menu wrapper
MultiColumnComboBox wrapper
Slider
Splitter wrapper
TabStrip wrapper
TimePicker
TreeView wrapper
TabStrip
Card
FloatingLabel
TextArea
Drawer
Stepper
Gauge
Splitter
PanelBar
Notification
Menu
TreeList
Toolbar
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
RadioButton
RadioGroup
Hint
Loader
ProgressBar
DateRangePicker
Switch
Wizard
Skeleton
ScrollView
RangeSlider
ColorGradient
ColorPalette
FlatColorPicker
Button
ButtonGroup
TileLayout
ListBox
ExpansionPanel
BottomNavigation
AppBar
Signature
ChunkProgressBar
VS Code Extension
+? more
Top users last month
Dominik
Top achievements
Rank 1
Giuliano
Top achievements
Rank 1
Dominic
Top achievements
Rank 1
Glendys
Top achievements
Rank 1
NoobMaster
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Dominik
Top achievements
Rank 1
Giuliano
Top achievements
Rank 1
Dominic
Top achievements
Rank 1
Glendys
Top achievements
Rank 1
NoobMaster
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?