Skip to content

Commit 29ff084

Browse files
committed
Grid Editing: Fix the selecting code to actual remove all the selected items
1 parent 5f0e108 commit 29ff084

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

grid-editing/grid-selectable.html

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -80,15 +80,9 @@
8080
}
8181
});
8282
});
83+
// TODO clear selection (on other pages) when starting from scratch
8384
grid.selectable({
8485
filter: "tr",
85-
start: function( ev, eventArgs ) {
86-
// If ctrlKey not true, remove any other items in selected
87-
// which may be on other pages than the current one.
88-
if ( !ev.ctrlKey ) {
89-
$.observable( selected ).remove( 0, selected.length );
90-
}
91-
},
9286
selected: function( ev, ui ) {
9387
var item = $(ui.selected).data("grid-item");
9488
if ( $.inArray( item, selected ) === -1 ) {

0 commit comments

Comments
 (0)