ParamQuery Grid
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
ParamQuery grid support forum
»
General Category
»
Bug Report
»
Bug in edit select demo version 9 and 10
« previous
next »
Print
Pages: [
1
]
Author
Topic: Bug in edit select demo version 9 and 10 (Read 215 times)
hyh888
Pro Enterprise
Full Member
Posts: 141
Bug in edit select demo version 9 and 10
«
on:
November 04, 2024, 01:14:46 pm »
In
https://paramquery.com/pro/demos91/edit_select
, user can batch copy unexpectable data into select-element columns(column 1 and column 3) without being warned.
It's also happen in version 10.
It seems there are many bugs for select in other demos too.
If there's a way to show warning, would you like to add it in demo?
For select colulmn in
https://paramquery.com/pro/demos/datamap
, illegal data are unable to copied into grid.
For select colulmn in
https://paramquery.com/pro/demos/readonly_cells
, illegal data can be copied into grid(column 2) without warning.
«
Last Edit: November 04, 2024, 01:42:53 pm by hyh888
»
Logged
paramvir
Administrator
Hero Member
Posts: 6307
Re: Bug in edit select demo version 9 and 10
«
Reply #1 on:
November 04, 2024, 01:33:31 pm »
This is not a bug, use validations to prevent unwanted data.
Logged
hyh888
Pro Enterprise
Full Member
Posts: 141
Re: Bug in edit select demo version 9 and 10
«
Reply #2 on:
November 04, 2024, 01:47:49 pm »
Dear Team,
Would you like to give me a sample to help?
It seems only date column has demo to handle this problem, but many lines of code should be added.
«
Last Edit: November 04, 2024, 01:49:20 pm by hyh888
»
Logged
paramvir
Administrator
Hero Member
Posts: 6307
Re: Bug in edit select demo version 9 and 10
«
Reply #3 on:
November 04, 2024, 07:06:40 pm »
Please also set pasteModel.allowInvalid to false along with the validations to prevent unwanted data while copy paste.
Example:
https://paramquery.com/pro/demos/editing_custom
Logged
hyh888
Pro Enterprise
Full Member
Posts: 141
Re: Bug in edit select demo version 9 and 10
«
Reply #4 on:
November 05, 2024, 06:19:29 am »
Dear Team,
In
https://paramquery.com/pro/demos/editing_custom
, when wrong data were copied into 1st column, there is no any warning(a red triangle will be more freindly) and wrong data disappeared.
For end users, that's horrible, they could not find that some data are wrong or missed. It will be better if there is friendly warning to mind them to correct the wrong data in pqgrid in place.
«
Last Edit: November 05, 2024, 06:38:24 am by hyh888
»
Logged
paramvir
Administrator
Hero Member
Posts: 6307
Re: Bug in edit select demo version 9 and 10
«
Reply #5 on:
November 05, 2024, 06:59:14 am »
To show warning with red triangle, set pasteModel.allowInvalid to true.
Logged
hyh888
Pro Enterprise
Full Member
Posts: 141
Re: Bug in edit select demo version 9 and 10
«
Reply #6 on:
November 05, 2024, 07:24:14 am »
Million thanks, it works.
Logged
Print
Pages: [
1
]
« previous
next »
ParamQuery grid support forum
»
General Category
»
Bug Report
»
Bug in edit select demo version 9 and 10