limitHideColumn method

  1. @override
bool limitHideColumn(
  1. PlutoColumn column,
  2. bool hide, {
  3. double accumulateWidth = 0,
})
inherited

When changing a column from hidden state to unhidden state, Check the constraint on the frozen column. If the hidden column is a frozen column The width of the currently frozen column is limited.

Implementation

@override
bool limitHideColumn(
  PlutoColumn column,
  bool hide, {
  double accumulateWidth = 0,
}) {
  if (hide == true) {
    return false;
  }

  return _limitFrozenColumn(
    column.frozen,
    column.width + accumulateWidth,
  );
}