Fixed Columns not Automatically Resizing on Inline Editor Error

Fixed Columns not Automatically Resizing on Inline Editor Error

Ally RansomAlly Ransom Posts: 2Questions: 1Answers: 0

The issue I'm encountering is that when an error is displayed for an editor field, it's not resizing the fixed columns. A good example of this is: https://editor.datatables.net/examples/inline-editing/fixedcolumns.html When you put in an alpha character for the salary and hit enter the fixed column's rows are no longer the same size as the rest of the table's rows.

This question has an accepted answers - jump to answer

Answers

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

    Thanks for pointing this out. We would need to call the fixedColumns().relayout() method after the table row height has changed. You could do that in the submitComplete event handler potentially.

    I'm concerned about the potential impact on performance so I'm not going to include that into Editor immediately, but I have taken a note of it to look into how this could be better addressed in future.

    Allan

  • Ally RansomAlly Ransom Posts: 2Questions: 1Answers: 0

    Awesome! That gives me a direction to go on at least. Thanks!

This discussion has been closed.