updateConfigurationFrom method

void updateConfigurationFrom(
  1. HeaderColumn other
)

Refreshes immutable column definitions while retaining runtime state such as width, visibility, and pinning.

Implementation

void updateConfigurationFrom(HeaderColumn other) {
  widget = other.widget;
  autoSizeWidget = other.autoSizeWidget;
  autoSize = other.autoSize;
  autoSizeWidth = other.autoSizeWidth;
  autoSizeWidthBuilder = other.autoSizeWidthBuilder;
  textVisibilityDialog = other.textVisibilityDialog;
  minimumWidth = other.minimumWidth;
  maximumWidth = other.maximumWidth;
  height = other.height;
  resizable = other.resizable;
  combinedColumns = other.combinedColumns;
  canHide = other.canHide;
  sortable = other.sortable;
  filterable = other.filterable;
  filterType = other.filterType;
  reorderable = other.reorderable;
  sortComparator = other.sortComparator;
  sourceColumnIndex = other.sourceColumnIndex;
  sourceHeaderRowIndex = other.sourceHeaderRowIndex;
  sourceHeaderColumnIndex = other.sourceHeaderColumnIndex;
  sourceGroupColumnIndexes = List<int?>.from(other.sourceGroupColumnIndexes);
}