Changing Content manager fields Programatically

I want to modify content manager…
When filter is selected.
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