JSFiddle - React, Tailwind, and code Playground

HTML

<link rel="stylesheet" href="http://www.jeasyui.com/easyui/themes/default/easyui.css">
<script src="http://www.jeasyui.com/easyui/jquery.easyui.min.js"></script>
<div id='myTab' class="easyui-tabs" data-options="fit:true">
    <div id="tab1Div" title="Problem description Tab">
        <h3>
        The problem is with the datagrid rendering.The rows don't get aligned properly when the text contains line breaks.<br><br>Please see the the datagrids in the tabs "Tab 1" and "Tab 2".</h3>
    </div>
    <div id="tab2Div" title="Tab 1">
        <table id="edWaveMin" style="width:450px;height:250px"></table>
    </div>
    <div id="tab3Div" title="Tab 2">
        <table id="edWaveMin2" style="width:450px;height:250px"></table>
    </div>
</div>

JavaScript

$(function () {
    var sampleData = {
        "rows": [{
            "pname": "First product",
                "code": "001",
                "stock": "500",
                "desc": "some description with short text"
        }, {
            "pname": "Second product",
                "code": "002",
                "stock": "100",
                "desc": "Migration läuft sehr gut\r\ndsafasdfa\r\n\r\nsdfasdfalsd ölsad löksd<br>#ddd<br>#ddd"
        }, {
            "pname": "Third product",
                "code": "001",
                "stock": "500",
                "desc": "some description with short text and no line breaks"
        }]
    }

    $('#myTab').tabs({
        onSelect: function (title, index) {
            if (index == 2) {
                $('#edWaveMin2').datagrid({
                    title: 'Table with correct alignment',
                    fitColumns: false,
                    nowrap: false,
                    data: sampleData,
                    frozenColumns: [
                        [{
                            field: 'pname',
                            title: 'Product name',
                            width: 100,
                            align: 'center'
                        }, ]
                    ],
                    columns: [
                        [{
                            field: 'code',
                            title: 'Code',
                            width: 100,
                            align: 'center'
                        }, {
                            field: 'stock',
                            title: 'Stock',
                            width: 100,
                            align: 'center'
                        }, {
                            field: 'desc',
                            title: 'Description',
                            width: 300,
                            align: 'center'
                        }]
                    ],
                    // rowstyler added only to show...