Fixed Columns not Automatically Resizing on Inline Editor Error
Fixed Columns not Automatically Resizing on Inline Editor Error
Ally Ransom
Posts: 2Questions: 1Answers: 0
in FixedColumns
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
This discussion has been closed.
Answers
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 thesubmitComplete
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
Awesome! That gives me a direction to go on at least. Thanks!