Hey there,
Is there an easy way to reorder columns in a grid?
Thanks,
Joe
Hey there,
Is there an easy way to reorder columns in a grid?
Thanks,
Joe
Ah, well. Thanks for the note.
Not unless you want to delete them all and add them back in the order you want.
Maybe not.
You should probably be able to call the “SaveApp” Method from Rest with the appropriate data.
"columns": [
{
"field": "Key4",
"hidden": false
},
{
"field": "Key3",
"hidden": false
},
{
"field": "Key2",
"hidden": false
},
{
"field": "Key5",
"hidden": false
},
{
"field": "Character01",
"hidden": false
},
{
"field": "Key1",
"isLink": true,
"hidden": false
}
]
It’s possible, sure. I haven’t touched the SaveApp method in REST, but I have played with it in a uBAQ and lemme tell you, the MetaFXSaveRequest parameter it’s looking for is more work to configure than just doing the update manually sometimes.
Especially considering OP’s original ask was for an easy way to reorder them.
I didn’t look too far into it yet, and easy is a relative term. If I have 50 colums to do I might choose the rest way!
I’m not sure I’m actually reading the question correctly, or if they’ve adding something.
I just opened the form in app studio and dragged and dropped my column order and
saved and it worked.
I did have to log out and possibly wait a few minutes for it to apply.
In App Studio as a default or as a personalization?
Reading is hard.
App studio as a layer.
(I’m a Kinetic-Phobe, so my experience is very limited.)
This is sus to me. I have not come across anything in App Studio where you have to log out and/or wait for the changes to apply.
I did attempt to replicate out of curiosity and it does not work the way you describe, but is in line with what I expected to happen–nothing. Or maybe I’m too impatient to wait, but if something I change requires me to wait, well… that ain’t going to happen.
This is the hard part of some of the rest calls, getting that object configured to make the correct call
I didn’t have to wait for it to show up in app studio.
I had to wait/log out for the system to pull the correct form layer.
Some kind of cache?
In 2022.2, when in Application Studio you can click the 3 dots (kebab) at the top right of your panel-card-grid and choose personalise columns. From their you can reorder your columns and it will stay in the layer.
Yes done that too. Works well.
If that works for you, then great! That’s how it’s supposed to work. I was never able to get it to actually behave that way in the browser on version 2022.2.7.
Oh, fascinating. I threw a button on the grid, just to confirm it was the correct one I was modifying and then BOOM, it changed the column layout.
Have I ever said I LOVE this product?
Kinetic is finally fighting back against your relentless onslaught.