How To Hide A Nested Grid if Empty

Is there a way to hide a nested grid if there are no records found?

I have the same requirement, but was not able to find a solution. I managed to add a separate column to the master to show the number of items in the nested grid. Not the nicest solution, but it worked for me.

Thanks again Albert for the advice.

Tal vez no sea del todo elegante pero funciona. Tienen que agregar el footer y en el evento onfooter poner lo siguiente:
?>
<script>
$(“td.css_detalle_grid_line:contains(‘No hay registros’)”).remove();
$(“td.css_moto_grid_line:contains(‘No hay registros’)”).remove();

$(“td.css_mascota_grid_line:contains(‘No hay registros’)”).remove();
$(“td.css_tecnologia_grid_line:contains(‘No hay registros’)”).remove();

$(“td.css_hogar_grid_line:contains(‘No hay registros’)”).remove();
$(“td.css_bicicleta_grid_line:contains(‘No hay registros’)”).remove();
</script>
<?php

Esto esta basado en el siguiente video: https://www.youtube.com/watch?v=Ev99zWTlB40