We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

TreeGrid toolbar with add button - adds duplicated rows when grid is empty

Thread ID:

Created:

Updated:

Platform:

Replies:

148655 Oct 29,2019 11:36 AM UTC Oct 30,2019 04:02 PM UTC Vue 1
loading
Tags: TreeGrid
Dmitriy
Asked On October 29, 2019 11:36 AM UTC

Hi Syncfusion,


If you will put to 'data' variable empty array like "data: []" and click "Add" button, then everything is ok - one row will be added.
But if you will replace "Grid" with "TreeGrid" component and leave the rest as it is, then after clicking "Add" button, two rows are added.

If I'm correct, it happens only if "data" is empty after component is initialized.

Could you pls offer any workaround for this bug?

Thank you,
Dmitriy.

Farveen Sulthana Thameeztheen Basha [Syncfusion]
Replied On October 30, 2019 04:02 PM UTC

Hi Dmitriy, 

Thanks for contacting Syncfusion Support. 

We have checked your query and we suspect that some problem occurs while on Editing when we doesn’t enable isPrimaryKey property in TreeGrid which is necessary to perform Editing operations. Please ensure that you have enable isPrimaryKey property at our end.  

We need some more additional details to find the cause of the issue. Please share us the following details. 

  1. Have you faced the problem while on clicking add empty row or while on saving the record.
  2. Share us the Video Demo to replicate the issue.
  3. Share us the code example.

This information will be helpful to provide you response as early as possible. 

Regards, 
Farveen sulthana T 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon