bryntum / support

An issues-only repository for the Bryntum project management component suite which includes powerful Grid, Scheduler, Calendar, Kanban Task Board and Gantt chart components all built in pure JS / CSS / TypeScript
https://www.bryntum.com
53 stars 6 forks source link

Vue3 - Filter Grid not working with Vue property #8825

Open guilherme-pinto-reeeliance opened 4 months ago

guilherme-pinto-reeeliance commented 4 months ago

``Screenshot 2024-03-16 at 09 54 54

As you can see, I'm getting this error when using the vue property as true in a Vue.js project in version 3 with nuxtjs. I created a project below where you can see the error happening just use the filter on any column and the error will occur https://vue3-bryntum-filter-error.pages.dev/

The code to reproduce the error is in the link below https://github.com/guilherme-pinto-reeeliance/vue3-bryntum-filter-error

You can also see the error in this JAM https://jam.dev/c/f8fdcdbc-cd4e-4bb5-8a6d-b0fe854812bf

TypeError: Cannot read properties of undefined (reading 'dataset')
at Proxy.processCellContent (http://localhost:3000/_nuxt/node_modules/@bryntum/grid-vue-3/src/WrapperHelperVue3.js?v=a0350e9d:52:38)
at Proxy.renderCell (http://localhost:3000/_nuxt/node_modules/@bryntum/grid/grid.module.js?v=a0350e9d:94800:60)
at Proxy.render (http://localhost:3000/_nuxt/node_modules/@bryntum/grid/grid.module.js?v=a0350e9d:94655:17)
at Proxy.renderFromRow (http://localhost:3000/_nuxt/node_modules/@bryntum/grid/grid.module.js?v=a0350e9d:95802:11)
at Proxy.refresh (http://localhost:3000/_nuxt/node_modules/@bryntum/grid/grid.module.js?v=a0350e9d:95867:8)
at Proxy.refreshRows (http://localhost:3000/_nuxt/node_modules/@bryntum/grid/grid.module.js?v=a0350e9d:103605:18)
at Proxy.resumeRefresh (http://localhost:3000/_nuxt/node_modules/@bryntum/grid/grid.module.js?v=a0350e9d:103697:14)
at Proxy.internalOnStoreEndApplyChangeset (http://localhost:3000/_nuxt/node_modules/@bryntum/grid/grid.module.js?v=a0350e9d:102960:10)
at Proxy.trigger (http://localhost:3000/_nuxt/node_modules/@bryntum/grid/grid.module.js?v=a0350e9d:5064:34)
at Proxy.syncDataset (http://localhost:3000/_nuxt/node_modules/@bryntum/grid/grid.module.js?v=a0350e9d:28184:8)
khattakdev commented 1 month ago

@guilherme-pinto-reeeliance I am unable to reproduce it on the link you've shared. Am I missing something?

https://github.com/bryntum/support/assets/37709578/84d85b9d-b5a0-49a5-bd01-d48f89ae07e1