Arrange item table grid through js

i want to arrange item table grid columns according to my select field
let’s suppose I have option “A” selected then it shows a grid column only of that particular option other columns unchecked

That for, you have to use the display depends on.

this is for parent field i want that on selection of parent field I get arranged column according to option in child table “items”

You can’t arrange columns but you can disable hide/unhide using the same thing that I provided reference.

I dont want to hide but want to unchecked in list view

Unchecked means you want to Unchecked the field when any parent field updates or something?

“unchecked in list view” means only that columns show in child table “items” which I want according to the option I selected in parent field