A
A
andrey_chirkin2022-02-02 09:29:16
JavaScript
andrey_chirkin, 2022-02-02 09:29:16

Why is state not updated?

Good afternoon! I want to make it possible to stretch columns like in excel. But state with column widths is not updated.
https://jsfiddle.net/32q45ytm/6/

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
andrey_chirkin, 2022-02-02
@andrey_chirkin

I did not understand how, but it worked)
https://jsfiddle.net/32q45ytm/6/

A
Alexander Shipin, 2022-02-02
@alexshipin

You don't have an onMouseUp function when the user releases the mouse button that would apply the resulting values ​​to the columns.
That is, in another language, there is processing of the beginning of the action, but there is no processing of completion

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question