displaying repeater in datagrid conditionally

hi, a datagrid contains one column that is a button nd i want to display a repeater in other column of the datagrid on the click of a particular button

Loader.
Up arrow icon