Creating columns in onMounted() no longer works in v24

Hello

In my Vue project, I have the column configuration of a treegrid in a json file like this :

Image_7728_1709223952775

and my very simple App.vue component looks like this:

Image_8942_1709225233318

  That is, I am not defining the columns on the template section. When I run the app, I get this errors:

Image_8896_1709224988882

This used to work when using version 22. But in version 23 and newer it no longer works.  What modification do I need to do?


Thanks!






Attachment: TestV24_1ba7ad68.zip


5 Replies 1 reply marked as answer

FS Farveen Sulthana Thameeztheen Basha Syncfusion Team March 1, 2024 03:38 PM UTC

Hi Ernesto,


Greetings from Syncfusion.


Further analyzing, we have confirmed this issue “Script Error throws when dataSource and columns were not defined in TreeGrid” as bug. Thank you for taking the time to report this issue and helping us improve our product.  At Syncfusion, we are committed to fixing all validated defects (subject to technical feasibility and Product Development Life Cycle ) and this issue fix was expected to be rolled out by March 20, 2024. Until then we appreciate your patience.


You can now track the status of your request, review the proposed resolution timeline, and contact us for any further inquiries through the following feedback link.


Feedback : https://www.syncfusion.com/feedback/51424/script-error-throws-when-datasource-and-columns-were-not-defined-in-treegrid


Note: To view the above feedback, kindly login into your account. You can view the feedback once the feedback status was moved from review pending.


DisclaimerInclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization.


Note:- Once fixed, Script Error will be resolved. But Warning message will indicates in console to define either Datasource or columns. [EJ2TreeGrid.Warning]: GRID CONFIG MISSING

dataSource and columns are not provided in the grid. At least one of either must be provided for grid configuration.


Regards,
Farveen sulthana T



FS Farveen Sulthana Thameeztheen Basha Syncfusion Team March 20, 2024 04:05 PM UTC

Ernesto,


Due to unforeseen circumstances, fix for the issue Script Error throws when dataSource and columns were not defined in TreeGrid not included in this release as promised. We are working on this high Priority and it will be included in our upcoming Patch release. Until the we appreciate your patience.



VP Vasu Perumal Syncfusion Team April 25, 2024 03:04 PM UTC


Hi Ernesto,


We appreciate your patience.


The reported issue occured when selectRow method called twice on keyboard action for both Grid and TreeGrid and now the fix for the issue “Script Error throws when dataSource and columns were not defined in TreeGrid in Vue” has been rolled out in our latest patch release (v25.1.41). So upgrade to our latest version to resolve the problem.


Sample Link:- https://stackblitz.com/edit/fzdpab-uf2fpw?file=src%2FApp.vue


Please get back to us if you need any further assistance.


Regards,

Vasu P.


Marked as answer

ER Ernesto April 29, 2024 03:56 PM UTC

Thanks a lot!



GE Getsy Edwin Syncfusion Team April 30, 2024 10:42 AM UTC

Hi Ernesto,

You're welcome!! Please get back to us if you need any other assistance.

Regards,

Getsy


Loader.
Up arrow icon