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
»
Help for ParamQuery Pro
»
Drop and Drop rows within the table only
« previous
next »
Print
Pages: [
1
]
Author
Topic: Drop and Drop rows within the table only (Read 566 times)
vijay@spinetechnologies
Pro Enterprise
Jr. Member
Posts: 87
Drop and Drop rows within the table only
«
on:
March 17, 2022, 09:36:53 am »
We are trying to implement drag n drop functionality in the param query grid. We have 3 grids on the same page. We want DnD on all the grids but want to DnD only within the tables. Currently, we can move the rows from one grid to another
Logged
paramvir
Administrator
Hero Member
Posts: 6309
Re: Drop and Drop rows within the table only
«
Reply #1 on:
March 17, 2022, 01:01:07 pm »
Please check dragModel.clsDnD and dropModel.accept options of the grids.
Example:
https://paramquery.com/pro/demos/dnd_grids
Logged
vijay@spinetechnologies
Pro Enterprise
Jr. Member
Posts: 87
Re: Drop and Drop rows within the table only
«
Reply #2 on:
March 17, 2022, 04:29:16 pm »
Hello Paramvir,
Thanks for your reply.
As mentioned, I want to restrict DnD to other grids. I want to DnD functionality within the grid only
Logged
paramvir
Administrator
Hero Member
Posts: 6309
Re: Drop and Drop rows within the table only
«
Reply #3 on:
March 17, 2022, 05:47:14 pm »
Please assign unique values of dragModel.clsDnD and dropModel.accept options to each grid to prevent inter-grid DnD.
Please also check the API documentation about the significance of the above 2 options
https://paramquery.com/pro/api#option-dragModel
https://paramquery.com/pro/api#option-dropModel
Logged
Print
Pages: [
1
]
« previous
next »
ParamQuery grid support forum
»
General Category
»
Help for ParamQuery Pro
»
Drop and Drop rows within the table only