You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Data is showing OK and columns are resizable. Then I call updateConfig() and forceRender() to get another data from server, like this:
grid.updateConfig(
{
server: {
url: "/Path/Data",
method: "POST",
body: serializeObject(completeObject),
headers: {
"Content-Type": "application/x-www-form-urlencoded",
},
then: (data) => data.map(
(resultItem) => {
/*some code here that prepares data from response to show them in columns. Not really related to question*/
})
},
resizable: true
}
).forceRender();
Data is shown but columns become non-resizable. Cursor changes shape but you cannot move column boundaries
Expected behavior
You should be able to resize columns after you update data from server using updateConfig() and forceRender(), if table was created with resizable: true
Desktop (please complete the following information):
OS: Windows 10
Browser Chrome
Version Latest updated
Smartphone (please complete the following information):
Tried on desktop only
Additional context
I use server object to get data
The text was updated successfully, but these errors were encountered:
Describe the bug
You cannot resize table columns after you update data in table using updateConfig() and forceRender()
To Reproduce
On page load I initialize table data using
server
object and settingresizable: true
. Like this:Data is showing OK and columns are resizable. Then I call updateConfig() and forceRender() to get another data from server, like this:
Data is shown but columns become non-resizable. Cursor changes shape but you cannot move column boundaries
Expected behavior
You should be able to resize columns after you update data from server using updateConfig() and forceRender(), if table was created with
resizable: true
Desktop (please complete the following information):
Smartphone (please complete the following information):
Tried on desktop only
Additional context
I use
server
object to get dataThe text was updated successfully, but these errors were encountered: