Code Monkey home page Code Monkey logo

kendo-vue's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

kendo-vue's Issues

minResizableWidth is not applied if resizing the browser initially

I'm submitting a...

  • Bug report

Current behavior

https://stackblitz.com/edit/azp3yx-css4wx?file=index.js
1 - open your stackblitz

2 - make the html page inside the stackblitz smaller

3 - see that the columns are smaller than the minResizableWidth prop
additional information:
4 - resize one of the grid columns (like you did in your video)

5 - resize the window again (like I described in my example)

6 - ...all the columns are rendered as expected also in a small screen, apparently using the minResizableWidth prop correctly.

Expected behavior

1 - open your last stackblitz

2 - make the html page inside the stackblitz smaller

3 - the columns are persisting their width

Native Grid: Grouping by column breaks Grid layout when a cell template is applied

I'm submitting a...

  • Bug report

Current behavior

When there is a custom cell template applied to a column in the Grid(Native), using the grouping functionality breaks Grid's layout

Expected behavior

The Grid's layout shouldn't be affected if we apply a custom cell template

Minimal reproduction of the problem with instructions

  1. Open this StackBlitz project
  2. See that the values in the ProductName column are bolded, but Grid's layout is broken
  3. Remove the cell template definition on line 54 by removing the cell property.
  4. Run the project again and see how if we don't apply a cell template, Grid's layout is being displayed correctly

Environment

Package versions:

2019.2.621

Browser:
All

Update packages requiring vue-class-component ^6.3.2

I'm submitting a...

  • Suggestion for improvement
  • Documentation issue or request

Current behavior

When installing, some packages require a version of vue-class-component ^6.3.2 as a peer dependency
image

Expected behavior

Either explicitly state somewhere in the docs that the package requires vue-class-component ^6.3.2, or better yet, support >= 6.3.2 (so including 7+)

What is the motivation or use case for changing the behavior?

So that users of vue-class-component version 7+ do not have to worry about possible issues, and to get rid of a warning.
Other dependencies may require a different version and have an actual need for it.
Also, it doesn't look like there are any breaking changes in vue-class-component despite the bump to the major version.

Environment

Package versions:

    "@progress/kendo-data-query": "^1.5.2",
    "@progress/kendo-theme-default": "^4.10.0",
    "@progress/kendo-vue-animation": "^0.3.7",
    "@progress/kendo-vue-excel-export": "^0.3.7",
    "@progress/kendo-vue-grid": "^0.3.7",
    "@progress/kendo-vue-intl": "^0.3.7",
    "@progress/kendo-vue-popup": "^0.3.7",
    "vue": "^2.6.11",
    "vue-class-component": "^7.1.0",

Browser:
not applicable

System:

  • TypeScript version: 3.7.3 (same while in 3.5)
  • Node version: 12.13.1
  • Platform: Windows

Add the ability to add custom data to Column menu checkbox scenario

Scenario

For instance, I have a column with names, I want to filter by a specific name, so I will create a custom filter component (I know how to create that), and I want to provide the list of names available for that column. I have checked and ColumMenu provides default props, but what about a custom prop to get a filter options list?

ticket: 1444339

Something similar to what already exists in React with GridColumnMenuCheckboxFilterProps
https://www.telerik.com/kendo-react-ui/components/grid/api/GridColumnMenuCheckboxFilterProps/

Peer dependency requirements prevent project from compiling after following installation instructions

I'm submitting a Bug report

Current behavior

When attempting to use the kendo-vue-grid with minimal dependencies, after following the Webpack installation instructions on the Telerik website and attempting to run the project, a number of error messages regarding missing dependencies is displayed:

These dependencies were not found:

* @progress/kendo-data-query in ./node_modules/@progress/kendo-vue-grid/dist/es/columnMenu/GridColumnMenuFilter.js
* @progress/kendo-vue-animation in ./node_modules/@progress/kendo-vue-grid/dist/es/columnMenu/GridColumnMenuItemContent.js
* @progress/kendo-vue-intl in ./node_modules/@progress/kendo-vue-grid/dist/es/GridNoRecords.js, ./node_modules/@progress/kendo-vue-grid/dist/es/cells/GridEditCell.js and 8
others
* @progress/kendo-vue-popup in ./node_modules/@progress/kendo-vue-grid/dist/es/columnMenu/ColumnMenu.js
* vue-class-component in ./node_modules/@progress/kendo-vue-grid/dist/es/GridToolbar.js, ./node_modules/@progress/kendo-vue-grid/dist/es/Grid.js and 32 others

Expected behavior

Either the grid component should run correctly after installing the two dependencies listed on the website (@progress/kendo-theme-default and @progress/kendo-vue-grid) or the documentation should have the correct installation instructions listing all necessary steps.

Minimal reproduction of the problem with instructions

  1. In a fresh Vue project with no kendo dependencies, follow the official instructions to install the two listed npm dependencies.
  2. Register the Grid component as described on that page.
  3. Try to compile and run the solution.
    I was unable to reproduce this issue on StackBlitz which seems to force peer dependencies to be installed. However I have reproduced this on CodeSandbox.

What is the motivation or use case for changing the behavior?

It should be easy to get started by following the official instructions.

Environment

Package versions:

System:

  • Node version: 10.16.0
  • npm version: 6.9.0
  • Platform: Windows

Kendo UI Grid - Row Detail + Scrolling bug (Vue Native)

I'm submitting a...Bug report

or Suggestion for improvement

add detailRowHeight prop into Native grid
to fix virtual scrolling with expanded detail row

https://www.telerik.com/kendo-vue-ui/components/grid-native/api/GridProps/

Current behavior is same as in this bug

telerik/kendo-angular#2430
telerik/kendo-angular#35

Expected behavior

nice and smooth scrolling

Minimal reproduction of the problem with instructions

enable virtual scrolling with server side paging
and put bunch of items into details row to increase it's height

What is the motivation or use case for changing the behavior?

motivation - irritation of bad UX when grid does not scroll

Environment

Package versions: @latest,

Browser: Chrome (desktop) version @latest,

System: Windows 10, Node version @latest

Grid add row with column sort causes grid to repaint mid update

I'm submitting a...

  • Bug report

Current behavior

When adding a row to a grid that currently has a column sorted, once data is entered in the new record (sorted column) the grid is resorted mid edit.

Expected behavior

Grid should not resort until the save button is pressed. Or not at all.

Minimal reproduction of the problem with instructions

https://jcevsc.stackblitz.io/

in the above link, press the "Add New" button.
in the name field type "z", then press tab.

you will notice the grid resort.

What is the motivation or use case for changing the behavior?

Environment

Package versions:


Browser:

  • Chrome (desktop) version 72

System:

  • TypeScript version: XX
  • Node version: XX
  • Platform:

Set Grouping Title of "hidden" Column

As there is no way to hide a column in the Kendo Vue Native Grid, there is no way to set the title of the grouping-property, if it isnt displayed in the grid:

https://stackblitz.com/edit/rvzzgi

The grouping on the property "UnitsInStockUglyString" works as expected, but ther is no way to set the text of the grouping header.

idea:
Add an optional property "title" to the GroupDescriptor-Property:

        group: [ { field: 'UnitsInStockUglyString' , title: 'My beautiful grouped text' } ],

This would also help on non-hidden fields, as it gives us the option to assign texts other than the column name.

Native Grid: Setting a cell template using component throws Vue warnings in the console

I'm submitting a...

  • Bug report

Current behavior

When defining a custom cell template by defining a new Vue component few Vue warnings appear in the console. Here are the errors:

  • [Vue warn]: Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-renders. Instead, use a data or computed property based on the prop's value. Prop being mutated: "dataItem"
  • [Vue warn]: $listeners is read-only.

Expected behavior

There should be any errors in the console when defining a cell template using a Vue component.

Minimal reproduction of the problem with instructions

  1. Open this Dojo example
  2. Sort the Grid by any column
  3. See the browser's console

Environment

Package versions: kendo-vue-grid 0.3.7 loaded via CDN

Grid renders "No data template" only in the first column

I'm submitting a...

  • Bug report

Current behavior

The native Vue Grid "no records" entry spans only over the width of the first column:
https://stackblitz.com/edit/gtqd9r-2i5ldt?file=index.html

Expected behavior

The "no records" should span over all columns.

Minimal reproduction of the problem with instructions

Run the following sample: https://stackblitz.com/edit/gtqd9r-2i5ldt?file=index.html

Environment

Package versions:
kendo-vue-grid 0.3.4

Browser:
all

An error is thrown when apply Is Null to the grid column filtering

Minimal reproduction of the problem with instructions

  1. Open the following sample : https://stackblitz.com/run?embed=1&file=index.js or https://www.telerik.com/kendo-vue-ui/components/grid-native/filtering/
  2. Apply "In Null" filter to the first column

Current behavior

The following error is thrown:
[Vue warn]: Error in render: "TypeError: l is not a function"

Environment

Package versions:
"@progress/kendo-vue-grid": "0.2.1",
"@progress/kendo-data-query": "1.5.0"

Native Grid throws an exception on filtering

I'm submitting a...

  • Bug report

Current behavior

Kendo Vue Grid (native) throws an error whenever you type a character into any of the column filters.

Expected behavior

The Grid data should be filtered like it could be seen in this StackBlitz project: https://stackblitz.com/edit/hqoco4?file=package.json

Minimal reproduction of the problem with instructions

Steps to reproduce:

  1. Open this demo: https://www.telerik.com/kendo-vue-ui/components/grid-native/filtering/
  2. Try to filter the Grid data by entering a value in the filters above each of the columns

The following error will appear in the console:
RangeError: Invalid array length at s (kendo-vue-grid.js:22) at a.e.setFilter (kendo-vue-grid.js:22) at change (kendo-vue-grid.js:22) at Bt (kendo-vue-grid.js:17) at a.n (kendo-vue-grid.js:17) at Bt (kendo-vue-grid.js:17) at a.t.$emit (kendo-vue-grid.js:17) at a.e.triggerChange (kendo-vue-grid.js:17) at a.e.inputChange (kendo-vue-grid.js:17) at input (kendo-vue-grid.js:17)

What is the motivation or use case for changing the behavior?

Regression bug

Environment

Package versions:
@progress/kendo-vue-grid": "0.3.6"

Browser:
All

An error is thrown on clearing the value from a date column filter

Minimal reproduction of the problem with instructions

  1. Open the following demo: https://www.telerik.com/kendo-vue-ui/components/grid-native/filtering/#toc-filter-row
  2. Clear the value from the "First Ordered On" column using the 'x' icon inside the input

Current behavior

The value is cleared and the following error is thrown:
RangeError: Invalid time value

Expected behavior

The value is cleared and no error is thrown

Environment

Package versions:
"@progress/kendo-vue-grid": "0.2.1-dev.201902210910",

Native Grid renders <a> tag in its header even if the column is not sortable

I'm submitting a...

  • Regression report

Current behavior

Native Grid renders <a> tag in its header even if the column is not sortable. That would result in a cursor pointer to be displayed when hovering over the header.

This is a regression introduced with the 2019.2.621 release

Expected behavior

<a> tag should not be present when the column is not sortable.

Minimal reproduction of the problem with instructions

Take a look at the overview's basic usage example here https://www.telerik.com/kendo-vue-ui/components/grid-native/

Environment

Package versions:
2019.2.621

Browser:
all

Group header template displays "undefined" when grouped by Date field

I'm submitting a...

  • Bug report

Current behavior

Group header template displays "undefined" when grouped by Date field
For reference run the following StackBlitz: https://stackblitz.com/edit/4hwtep?file=index.js

Expected behavior

Group header template should properly render the Date as a string

Minimal reproduction of the problem with instructions

For reference run the following StackBlitz: https://stackblitz.com/edit/4hwtep?file=index.js

Browser:

  • all

When using virtual scroll, initializing skip to a nonzero value is not respected

I'm submitting a...

  • Bug report

Current behavior

Although skip is bound to a nonzero starting value, scrolling behaves as if skip were set to zero. The scroll position is at the top of the container and scrolling down produces pageChange events with skip values starting at 1.

Expected behavior

The initial scroll position should correspond to the value assigned to the skip prop and pageChange events should match this scroll position.

Minimal reproduction of the problem with instructions

https://stackblitz.com/edit/mshomu?file=index.js

What is the motivation or use case for changing the behavior?

We have a scenario where setting the initial scroll position in the grid is required.

Browser:

  • Chrome (desktop) version 73
  • Firefox version 66

System:

  • Platform: Mac, Windows

An error is thrown when applying string filtering to the grid numeric column

Minimal reproduction of the problem with instructions

  1. Open the following sample : https://stackblitz.com/edit/zvhr6x?file=index.js
  2. Apply "Containg", "Doesn not contain", "Starts with" or "Ends with" filter to the first column

Current behavior

The following error is thrown:
[Vue warn]: Error in render: "TypeError: (e || "").indexOf is not a function"

Not reproducible with React: https://8hr57t.run.stackblitz.io

Environment

Package versions:
"@progress/kendo-vue-grid": "0.2.1-dev.201902210910",
"@progress/kendo-data-query": "1.5.1-dev.201903010610"

Grid displays extra whitespace when scrolling to the bottom if grid is narrower than its columns when using virtual scroll

I'm submitting a...

  • Bug report

Current behavior

When scrolling to the bottom of a grid where the columns are wider than the grid container, extra whitespace appears below the grid rows and the scrollbar may behave strangely.

Expected behavior

No whitespace appears below the rows and scrolling behaves as normal.

Minimal reproduction of the problem with instructions

https://stackblitz.com/edit/fcsuzv?file=index.js

Scroll to the bottom of the list.

What is the motivation or use case for changing the behavior?

The user experience when working with the grid is negatively impacted.

Environment

Browser:

  • Chrome (desktop) version 73

System:

  • Platform: Mac, Windows

Grid memory leak with cell and headerCell functional components

I'm submitting a...

  • Suggestion for improvement

Current behavior

When the Native Grid columns has cell and headerCell customization through functional components, the allocated memory by the Grid is not being disposed when switching between Vue router views.

Expected behavior

The allocated memory should be correctly disposed when working with functional components.

Minimal reproduction of the problem with instructions

_kendo-grid-memory-test.zip

  • Start the app
  • Open Chrome 'Memory' tab in DevTools
  • Switch between the two routes from the links above the Grid and observe the memory stack.

Environment

Package versions: kendo-vue-grid 0.3.4

Native Grid: "or" logic bug in GridColumnMenuFilter

I'm submitting a...

  • Bug report

Current behavior

When trying to filter grid rows by a single column filter which uses "or" logic, rows are not filtered properly and Error: Cannot read property 'concat' of undefined is seen in the console.

Expected behavior

Rows are filtered properly.

Minimal reproduction of the problem with instructions

See the following Stackblitz: https://stackblitz.com/edit/vzmfzp?file=index.js

Steps to reproduce

  1. Try to set filter on Name column: contains "cha" OR contains "grandma"
  2. Check out the console

In the Stackblitz above I inserted console.log(event.data.filter); inside dataStateChange function. There you can clearly see that logic is undefined for the filter, although it should be set to or:
image

Environment

Package versions:
See package.json in Stackblitz

Browser:

  • Chrome (desktop) Version 76.0.3809.100 (Official Build) (64-bit)

System:

  • Platform: Ubuntu 18.04

Content-Security-Policy (CSP) strict mode support

I'm submitting a...

  • Question

Current behavior

I'm trying to add more strict CSP rules to my app and we use the Grid component. One of the dependencies is the @progress/kendo-vue-popup package and it's raising unsafe-inline errors (there are some methods in the package that manually set the style of the elements).

Do you have plans to make the Kendo Vue library CSP strict compatible?

Expected behavior

The components work with strict CSP rules.

What is the motivation or use case for changing the behavior?

I want to use strict CSP rules for the script and styles.

Environment

Package versions:

+-- @progress/[email protected]
+-- @progress/[email protected]
+-- @progress/[email protected]
+-- @progress/[email protected]
+-- @progress/[email protected]
+-- @progress/[email protected]
+-- @vue/[email protected]
+-- @vue/[email protected]
`-- [email protected]

System:

  • Node version: v12.13.1
  • Platform: Windows

Minimal reproduction of the problem with instructions

  1. git clone https://github.com/fabiano/kendo-vue-grid-csp
  2. cd kendo-vue-grid-csp
  3. npm install
  4. npm start
  5. Open the Developer Tools and you will see the error message: Refused to apply inline style because it violates the following Content Security Policy directive: "style-src 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-Y+wsDhnso/VitFKVAmAGIC+CGwKJuRUiycQ54atO+eE='), or a nonce ('nonce-...') is required to enable inline execution.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.