above input example image attached
I need to remove empty row from datatable with consider all column (column name is dynamic) and each it will come different column name and column will assign in variable like column name=“col1,col2,col3,col4,” each time it will change
below image output