ParamQuery grid support forum
General Category => Help for ParamQuery Select => Topic started by: mercury85 on May 09, 2018, 07:44:38 am
-
Hi,
I was wondering if you had a demo where the columns in PQGrid change with the order of the columns made by the user. When you click on them they expand the groups and so in.
Thanks!!
-
These are the two examples:
For show hide grouped columns. Columns can be shown/hidden by pqSelect in the toolbar & columns can be reordered by drag & drop of column headers in the grid.
https://paramquery.com/pro/demos/showhide_groups
For expand / collapse the grouped columns.
https://paramquery.com/pro/demos/group_columns
-
I like the element in the links you provided, what I have done is created ParamSelect with the column items list so I may use them for filtering, what I want to do now is nest these in the column bar so that it not only serves the purpose of dragging the items in, but use it for filtering as well.
-
There is no support of dragging the items in pqSelect.
pqSelect filtering is not related to grid filtering. Filtering is done in pqSelect to filter the columns within pqSelect and filtering in grid is done to filter the rows.
-
Darn, with that said, is there a way that we can control the order of the items in the toolbar, IE it reorders the columns and so. Thinking may use ParamSelect, and read the order to reorder the columns in the grid to try and achieve the same function.
-
Basically what I am thinking is using the followinghttps://paramquery.com/forum/index.php?topic=1780.0..
Making some paramselect buttons in a drag and drop div, and pull col model.. from there I have the items listed in the dropdown, and then just read order of the columns from a class. Thinking I should be able to achieve what I was asking earlier.