Unplanned
Last Updated: 24 Aug 2020 12:05 by ADMIN
Shane
Created on: 17 Aug 2020 15:43
Category: Editor
Type: Bug Report
2
Delete Row causes cells to be out of order when multiple cells have rowspan

Given you have a table, where a row has multiple cells containing rowspans.

And there are also cells with no rowspan between them.

E.g. Starting HTML

<table>
    <tbody>
        <tr>
            <td rowspan="2">A1</td>
            <td>B1</td>
            <td rowspan="2">C1</td>
        </tr>
        <tr>
            <td>B2</td>
        </tr>
    </tbody>
</table>

When you delete the row (E.g. delete row 1 in the example above).

Then the cells in the resulting table are in the wrong columns.

E.g. Result HTML

<table>
    <tbody>
        <tr>
            <td>A1</td>
            <td>C1</td>
            <td>B2</td>
        </tr>
    </tbody>
</table>

Cells C1 and B2 are in the incorrect columns.

The desired outcome of deleting row 1 would be for all cells to remain in their original columns.

E.g. Desired Result HTML

<table>
    <tbody>
        <tr>
            <td>A1</td>
            <td>B2</td>
            <td>C1</td>
        </tr>
    </tbody>
</table>

Bug is reproducible in RadEditor demo using Starting HTML above (in various browsers).

Thank you,

Shane

1 comment
ADMIN
Rumen
Posted on: 24 Aug 2020 12:05

Hi Shane,

Thank you very much for reporting this bug!

It was able to reproduce it and logged for fixing.

As a small note of gratitude for discovering and reporting it, I updated your Telerik points.

Best Regards,
Rumen
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.