Short description
grid and edit/form:
added line cannot be selected properly on grid
What is current behavior
- grid, add line. Add new line on form
- the new line is visible on grid
- the new line cannot be selected
What is desired behavior
should be selectable
Link to jsfidle/codepan with sample code
line 11707 of w2ui-2.0.es6.js
if (this.searchData.length !== 0 || (index + 1 >= this.last.range_start && index + 1 <= this.last.range_end)) {
tests again grid last.range_end which is only updated on reload
if we add a previous new line:
this.last.range_end = this.records.length
then it works
Steps to reproduce or sample