hideColumn method
Hide or show the column
with hide
value.
When column.frozen.isFrozen
and hide
is false,
column.frozen
is changed to PlutoColumnFrozen.none
if the frozen column width constraint is narrow.
Implementation
@override
void hideColumn(
PlutoColumn column,
bool hide, {
bool notify = true,
}) {
if (column.hide == hide) {
return;
}
if (limitHideColumn(column, hide)) {
column.frozen = PlutoColumnFrozen.none;
}
column.hide = hide;
_updateAfterHideColumn(columns: [column], notify: notify);
}