ParamQuery grid support forum

General Category => Bug Report => Topic started by: hideki.yoshikura on June 22, 2020, 12:27:53 pm

Title: Incorrect value copied when dragging and dropping more than 2 cells in grid
Post by: hideki.yoshikura on June 22, 2020, 12:27:53 pm
Param query version is using 6.2.4.
Incorrect value is copied when dragging and dropping more than 2 cells in parameter query grid.
This only happens when you enter a number in a cell with datatype = string.
The correct value is copied when dragging two or less cells.

This bug can also be reproduced on the demo site.
If you drag the 4th to 6th row of the product name column of demo page below and drop it in the cell in the 3rd row, -10 will be displayed in the 3rd row.
https://paramquery.com/pro/demos62/dnd_grid

I would like to know the cause of this bug and how to resolve it.

Thanking you in advance.

Title: Re: Incorrect value copied when dragging and dropping more than 2 cells in grid
Post by: paramvir on June 22, 2020, 06:00:09 pm
This is the stackblitz I've created as per your description ( multiple rows DnD ), but I don't see -10 displayed anywhere after DnD of rows  4th to 6th and drop it to the 3rd row

https://stackblitz.com/edit/paramquery-demo-p9ndc5?file=index.js

Could you please help reproduce the issue by making required changes in the stackblitz.
Title: Re: Incorrect value copied when dragging and dropping more than 2 cells in grid
Post by: hideki.yoshikura on June 23, 2020, 11:32:20 am
Thank you for your answer
Sorry for the lack of explanation for the question

Enter the number 1 in rows 4-6 of the Product Name field on the demo page below, then select the three entered cells at the same time and drag them to the top. After that, if you drop it in the cell in the third row, -10 will be displayed.
https://paramquery.com/pro/demos62/dnd_grid
[img][/screen1.png]

Thanking you in advance.
Title: Re: Incorrect value copied when dragging and dropping more than 2 cells in grid
Post by: paramvir on June 23, 2020, 12:24:28 pm
Thank you but I'm still unable to see -10 in mine stackblitz by following your steps.

https://stackblitz.com/edit/paramquery-demo-p9ndc5?file=index.html

Please share a jsiddle / stackblitz as per your implementation to reproduce the issue.
Title: Re: Incorrect value copied when dragging and dropping more than 2 cells in grid
Post by: hideki.yoshikura on June 24, 2020, 09:53:17 am
Thank you for your answer
Thank you for preparing Stackblitz

I edited Stackblitz.
As a result of selecting the cells in the 4th to 6th rows and dragging to the 3rd row, -10 is displayed in the 3rd row.
https://stackblitz.com/edit/paramquery-demo-p9ndc5?file=index.js
[img][/screen1.png]

Thanking you in advance.
Title: Re: Incorrect value copied when dragging and dropping more than 2 cells in grid
Post by: paramvir on June 25, 2020, 09:52:01 am
Ok got it, you meant Autofill ( which is different from DnD module ). I'm looking into it.
Title: Re: Incorrect value copied when dragging and dropping more than 2 cells in grid
Post by: hideki.yoshikura on July 01, 2020, 02:44:48 pm
Will this matter take a long time to resolve?
Title: Re: Incorrect value copied when dragging and dropping more than 2 cells in grid
Post by: paramvir on July 01, 2020, 03:08:35 pm
The issue is reproducible, it would be fixed in upcoming version.