[Bug] Pluto Column won't freeze first column programatically
mrgithub opened this issue · comments
When I freeze the first column it is not visually frozen but the menu bar says it is when clicked. State manager says it's not frozen. No frozen columns are bigger than 200. I don't understand why it doesn't work.
First column looks like this:
List<PlutoColumn> get columns {
return <PlutoColumn>[
PlutoColumn(
title: 'Date',
field: 'date',
type: PlutoColumnType.date(format: "dd MMM"),
readOnly: true,
backgroundColor: Colors.black,
enableColumnDrag: false,
enableRowDrag: false,
enableSorting: false,
frozen: PlutoColumnFrozen.start, // this should freeze it and should be enough
titleSpan: getTitleSpan('Date'),
),
onLoaded looks like this:
onLoaded: (PlutoGridOnLoadedEvent event) {
event.stateManager.setShowColumnFilter(false);
event.stateManager.setColumnSizeConfig(
PlutoGridColumnSizeConfig(
autoSizeMode: PlutoAutoSizeMode.scale));
event.stateManager.columns[0].frozen = PlutoColumnFrozen.start; // tried to freeze it again just in case
print("***frozen " + event.stateManager.showFrozenColumn.toString()); // shows false
},
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.