Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DxDataGrid with DxColumn in template/slot in combination with SSR #503

Open
toralux opened this issue Jul 6, 2021 · 0 comments
Open

DxDataGrid with DxColumn in template/slot in combination with SSR #503

toralux opened this issue Jul 6, 2021 · 0 comments

Comments

@toralux
Copy link

toralux commented Jul 6, 2021

Bug Report

Errors when using DxDataGrid with DxColumn in template/slot in combination with SSR.
Have reproduced in a minimal example: quasar.zip

Important files to have a look at in zip-file:

  • src/components/CommonGrid.vue -> Wrapper component of DxDataGrid
  • src/pages/Index.vue -> Page that consumed CommonGrid and defines DxColumn in a slot

If I move DxColumn definition out of and directly inside DxDataGrid instead of using it works. But that way I cannot use a standardised wrapper component with common settings for DxDataGrid used throughout the project.

(For simplicity dataSource = null, but having a proper DataSource instance doesn't affect behaviour/error situation. With more complicated scenarios this error also happens without using SSR mode)

Package versions:
devexteme version: 21.1.4
devextreme-vue version: 21.1.4
quasar: 2.0.1

Steps to reproduce:
yarn global add @quasar/cli

... unzip quasar.zip-file, then ...

cd quasar
yarn install
quasar dev -m ssr

Current behavior:
Errors as in screenshot below

Expected behavior:
When running without SSR (quasar dev) it doesn't produce error, expects the same with SSR (quasar dev -m ssr).

Screenshots:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant