I figured out. I found how to do it by here:
Column selection in Dash AG Grid - #12 by subodhpokhrel7