I have a grid with a details template. I want to hide a column in the details template based on the value of a column from the main grid. Is this possible?
Thanks,
Cornel.
1 Answer, 1 is accepted
0
Stefan
Telerik team
answered on 06 Dec 2017, 09:26 AM
Hello, Cornel,
The desired result could be achieved on the dataBound event of the child Grid. It will require selecting the master row of the Parent Grid and find its dataItem. Then based on the dataItem values, the hideColumn method can be used on the child Grid to hide the desired column: