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
I saved data to the server after resize columns, and then after reloading browser page I try to set the column width - which I got from server/
I tried from this example but not successfully
Can you please give me example how correctly do this?
p.s sorry about my English . I hope I said clearly
added chunk of my code
useEffect(() => {
....
fetch("http://localhost:5000/table/", requestOptions)
.then((response) => response.json())
.then((data) =>
console.log(">>>WIDTH>>>", data.columnResizing); // here is ok - I got for example {name: 255}
setResizeColumns(data.columnResizing); // my own func setResizeColumns
})
....
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I saved data to the server after resize columns, and then after reloading browser page I try to set the column width - which I got from server/
I tried from this example but not successfully
Can you please give me example how correctly do this?
p.s sorry about my English . I hope I said clearly
added chunk of my code
useEffect(() => {
....
fetch("http://localhost:5000/table/", requestOptions)
.then((response) => response.json())
.then((data) =>
console.log(">>>WIDTH>>>", data.columnResizing); // here is ok - I got for example {name: 255}
setResizeColumns(data.columnResizing); // my own func setResizeColumns
})
....
Beta Was this translation helpful? Give feedback.
All reactions