TableHeaderComponent - calling setColumnWidth without triggering the callback

Is it possible to call TableHeaderComponent::setColumnWidth without it triggering the tableColumnsResized callback on all listeners? Or alternatively, is it possible to know from the tableColumnsResized call if a column was resized specifically by the user dragging on the column edge?

I’m currently attempting to keep column widths proportional to my window size by calling setColumnWidth within Component::resized, however this is causing issues within my tableColumnsResized code where I’m attempting to process user width changes only.

Thanks.

1 Like