How to add conditional row in a table

For an instance I have row 1 with column Item Code, Item Name, Qty
in row 2 I only want to show Item Group
This is based on content of each row, for an instance row 1 is showing when Item Group is NULL and row 2 is showing when Item Group is not NULL

This also goes to its styling (border, color, etc)

Currently, it is not possible to set conditions at the child table level. If it is possible, you would need to write complex logic to implement the condition.

Are there any suggestion to solve this?

@auliabismar you may try with frappe datatable

this is for print designer

I am sorry for the confusion in the tag/category
this is for print designer