akottr / dragtable

re-order table columns by using drag'n'drop
http://akottr.github.io/dragtable
MIT License
203 stars 166 forks source link

Adding columns / redraw issue #67

Open v-dem opened 7 years ago

v-dem commented 7 years ago

After I added second column (so, after second call to redraw), I receive "Error: cannot call methods on dragtable prior to initialization; attempted to call method 'redraw'" message. Table is relatively easy, and there's just one handler (on click) on table header (to display text input). And column that was inserted before this error received can't be moved. Others still can be moved. I think there's a problem left after the first call to "redraw". I'm trying to investigate the problem myself, but I don't have much time.