-
Notifications
You must be signed in to change notification settings - Fork 874
Open
Labels
Possible BugA possible bug that needs investigationA possible bug that needs investigation
Description
Hi, I encountered an issue when using updateColumnDefinition on a frozen column.
Here is my table definition:
layout: "fitColumns",
index: "sKey",
progressiveRender: true,
progressiveRenderSize: 50,
resizableColumnGuide:true,
rowFormatter: rowFormatter.bind(this),
initialSort: [
{column:"sKey", dir:"asc"},
],
columns: [
{
title: "Key",
field: "sKey",
editor: "input",
headerFilter: "input",
headerFilterPlaceholder: "filter",
headerSortTristate: true,
cellEdited: this.cellEdited,
cellEditing: this.cellEditing,
cellEditCancelled: this.cellEditCancelled,
widthGrow: 2,
minWidth: 150,
frozen: true
},
...
]
When I run table.updateColumnDefinition("sKey", {validator: "maxLength:128"}) i get the following error:
Uncaught (in promise) TypeError: column.element.after is not a function
The same call woks correctly on non-frozen columns.
I am using Tabulator v6.3.1.
I noticed that a similar issue was reported in 2023 and fixed in v5.6 ( #4357 )
Metadata
Metadata
Assignees
Labels
Possible BugA possible bug that needs investigationA possible bug that needs investigation