vitmalina / w2ui

UI widgets for modern apps. Data table, forms, toolbars, sidebar, tabs, tooltips, popups. All under 120kb (gzipped).
http://w2ui.com
MIT License
2.66k stars 731 forks source link

Unable to reorder the grid row to the last position #2472

Closed dv1x3r closed 9 months ago

dv1x3r commented 10 months ago

Short description In the latest master version it is impossible to reorder the grid row to the last position.

What is current behavior The blue line with a new position is not appearing.

What is desired behavior The blue line with a new position is visible, and record could be moved to the bottom.

Link to jsfidle/codepan with sample code https://jsfiddle.net/sgd9xthy/1/

Steps to reproduce or sample

  1. Drag the row to the bottom of the table.

The place to check https://github.com/vitmalina/w2ui/commit/bc33bfe6668f1a1bfb80f5965dd0728cb1ea0088#r135038903 The check "recid == '-none-'" no longer works. With the current version the valid check will be 'recid == undefined'.