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
»
savestate column order not saving/rendering when column grouping applied
« previous
next »
Print
Pages: [
1
]
Author
Topic: savestate column order not saving/rendering when column grouping applied (Read 435 times)
mikep
Pro Ultimate
Full Member
Posts: 161
savestate column order not saving/rendering when column grouping applied
«
on:
August 17, 2023, 09:30:54 pm »
saveState and loadState work fine when column grouping is not applied, but when I have a column grouping, the column order (of non-grouped columns) does not get applied. Is there a good way to deal w/this or do I need to remove column grouping?
Logged
paramvir
Administrator
Hero Member
Posts: 6296
Re: savestate column order not saving/rendering when column grouping applied
«
Reply #1 on:
August 18, 2023, 04:57:06 pm »
Column order via loadState is not supported for grouped columns currently.
Logged
mikep
Pro Ultimate
Full Member
Posts: 161
Re: savestate column order not saving/rendering when column grouping applied
«
Reply #2 on:
August 21, 2023, 10:32:21 pm »
thank you for confirming.
I will remove the column group. Is it possible to set background color for column headers to help distinguish them.
or
Is it possible to read the column order from the grid state and apply this order once gridstate (with the column grouping) has been applied.
Logged
paramvir
Administrator
Hero Member
Posts: 6296
Re: savestate column order not saving/rendering when column grouping applied
«
Reply #3 on:
August 22, 2023, 02:24:48 pm »
Yes it's possible to set background color or assign any style to column header cells with column.styleHead option.
https://paramquery.com/pro/api#option-column-styleHead
Logged
mikep
Pro Ultimate
Full Member
Posts: 161
Re: savestate column order not saving/rendering when column grouping applied
«
Reply #4 on:
August 01, 2024, 11:35:49 pm »
Is the column order via loadState still not supported for grouped columns? User's love the ability to save column order and love column grouping.
Could you recommend an approach to apply both?
Is it possible to read the grid's loadState and get its column ordering and then add the columns in that order to the grid's column collection based on what's in LoadState?
Logged
paramvir
Administrator
Hero Member
Posts: 6296
Re: savestate column order not saving/rendering when column grouping applied
«
Reply #5 on:
August 02, 2024, 08:36:04 pm »
I understand your requirement, have added it to the roadmap.
Logged
Print
Pages: [
1
]
« previous
next »
ParamQuery grid support forum
»
General Category
»
Help for ParamQuery Pro
»
savestate column order not saving/rendering when column grouping applied