[Editor] CSS class removed from TD after saving and table update

[Editor] CSS class removed from TD after saving and table update

ajungajung Posts: 14Questions: 5Answers: 0

Latest DT, latest Editor versions installed

I have a table cell

<td class="clas_number">....</td>

After opening the editor and saving the row, the table row gets correctly updated.
However the CSS class is removed from the TD element after the visual update of the cell. Bug or feature?

Answers

  • allanallan Posts: 61,972Questions: 1Answers: 10,160 Site admin

    Bug or feature?

    Since you ask, can we go with feature and call it quits? :-p

    In all seriousness - I'm not seeing that behaviour here. If I edit an extension number, it still has the class dt-type-numeric.

    Can you link to a page showing the issue so I can look into it please?

    Allan

  • ajungajung Posts: 14Questions: 5Answers: 0

    I don't have a live site.

    There are screenshots:

    https://www.dropbox.com/scl/fo/dsm8vsxc1hezdweldd7cc/AGd7tVzRPEsPDFwKGzGcvFw?rlkey=liu1hl4g44zce83h9f77ybcuk&dl=0

    The related cell has the CSS class "cas-nummer" before editing.

  • allanallan Posts: 61,972Questions: 1Answers: 10,160 Site admin

    Can you show me how you are adding the cas-nummer class in the first place please?

    Allan

  • ajungajung Posts: 14Questions: 5Answers: 0

    Problem seems to be solved by explictly added "className" to the definition of the column through columns.

Sign In or Register to comment.