Changing Content manager fields Programatically

I want to modify content manager…
That
When filter is selected.
Like
Category is Education I want to show some related fields only not all fields on table… By using UI editor that is being custom modifications only…
But now I want Programatically changing field. While using filter
Any idea