ParamQuery grid support forum

General Category => Help for ParamQuery Grid (free version) => Topic started by: vijay@spinetechnologies on October 08, 2024, 07:05:29 pm

Title: Paste Column in the Grid Add new Rows
Post by: vijay@spinetechnologies on October 08, 2024, 07:05:29 pm
Hello Paramvir

I am using paramquery with column paste functionality.

Suppose, the target grid contains 5 Rows only. Whenever I tried to paste more than 5 vertical cells, additional rows were inserted in the grid.
I don't want such behavior. I want the grid to only accept the first 5 cell values and not generate new rows
Title: Re: Paste Column in the Grid Add new Rows
Post by: paramvir on October 09, 2024, 06:05:21 pm
In beforeValidate event, check if ui.source == 'paste' then set the ui.addList.length to 0