JSFiddle - React, Tailwind, and code Playground

HTML

<table id="sum_table" border="1">
					<tr class="titlerow">
						<td align="center">plan1
					</tr>
					<tr class="titlerow">
						<td align="center">EUR					
					</tr>
					<tbody>
	        <tr>		
							<td class="rowDataSd" align="right" nowrap>2 358,94
         </tr>
         <tr>
					    <td class="rowDataSd" align="right" nowrap>3
         </tr>
         <tr>	
             <td class="totalCol"></td>
        </tr>		
</tbody></table>

JavaScript

var totals=[0,0,0,0];
$(document).ready(function(){

    var $dataRows=$("#sum_table tr:not('.totalColumn, .titlerow')");
    
    $dataRows.each(function() {
        $(this).find('.rowDataSd').each(function(i){        
            totals[i]+=parseFloat( $(this).html());
        });
    });
    $("#sum_table td.totalCol").each(function(i){ 
	

    
        $(this).html("kopā: "+totals[i].toFixed(2));
    });

});