Opened 9 years ago

Closed 9 years ago

Last modified 8 years ago

#11722 closed enhancement (fixed)

EnhancedGrid - advanced selection model

Reported by: evan Owned by: evan
Priority: high Milestone: 1.6
Component: DojoX Grid Version: 1.5
Keywords: enhanced grid selection Cc: drschwar@…, xwzhu@…, hwcdl@…
Blocked By: Blocking:

Description (last modified by evan)

Refs#9919

Provides advanced selection support for spreadsheet like behavior, including:

1.Selecting columns(adjacent or in-adjacent) by key or mouse swiping

2.Selecting rows(adjacent or in-adjacent) by key or mouse swiping(by reusing row selection in Data Grid as possible)

3.Selecting cells(adjacent or in-adjacent) by key or swiping mouse

4.Flexible combination of 1 - 3

Attachments (4)

edg-selection.png (34.9 KB) - added by evan 9 years ago.
Adding a snapshot how new EDG selection works
edg-selection.2.png (34.9 KB) - added by evan 9 years ago.
Adding a snapshot how new EDG selection works
selection.patch (54.8 KB) - added by Adam Peller 9 years ago.
patch from Evan
edg-selection-snapshot3.png (75.1 KB) - added by evan 9 years ago.
A snapshot for an interersting way to select cells

Download all attachments as: .zip

Change History (15)

comment:1 Changed 9 years ago by Adam Peller

Owner: changed from bryanforbes to Evan

Changed 9 years ago by evan

Attachment: edg-selection.png added

Adding a snapshot how new EDG selection works

Changed 9 years ago by evan

Attachment: edg-selection.2.png added

Adding a snapshot how new EDG selection works

Changed 9 years ago by Adam Peller

Attachment: selection.patch added

patch from Evan

comment:2 Changed 9 years ago by Adam Peller

requires #11734

comment:3 Changed 9 years ago by evan

Once "selection.patch" applied, please use dojox/grid/tests/enhanced/test_enhanced_grid_selector.html

Changed 9 years ago by evan

Attachment: edg-selection-snapshot3.png added

A snapshot for an interersting way to select cells

comment:4 Changed 9 years ago by Douglas Hays

Resolution: fixed
Status: newclosed

(In [23047]) Fixes #11722. Add easier selection of columns/rows/cells to enhanced grid. !strict

comment:5 Changed 9 years ago by bill

Owner: changed from Evan to evan

comment:6 Changed 9 years ago by evan

The above "selection-12-8-2010.patch" includes following changes:

  1. Improved the performance when selecting/deselecting range by not update row on every onSelected/onDeselected event.
  1. Simplified styling code for selected areas
  1. Fix bug - when selecting is disabled, pressing SPACE shouldn't work
  1. Fix bug - omit the row selector focus area when there is no row selector.
  1. Fix bug - isSelected() API must return false for cells that are not selectable, even when the whole row is selected.
  1. Simper way to register Selector plugin
  1. Add support for future selection persistence
  1. Auto scroll fix - stop scrolling when mouse is out of grid
  1. Code clean - coding style etc.

comment:7 Changed 9 years ago by evan

The "selection-12-8-2010.patch" is re-appended to a new ticket #12064

comment:8 Changed 9 years ago by Douglas Hays

(In [23302]) Fixes #12064, refs #11722. Proxy commit for evan (IBM, CCLA). Various EnhancedGrid? selection bug fixes. !strict

comment:9 Changed 8 years ago by evan

Description: modified (diff)

comment:10 Changed 8 years ago by evan

(In [23666]) Refs #11722, 1. fix conflict with single click editing & row selector; 2. remove obsolete code, !strict

comment:11 Changed 8 years ago by evan

(In [23839]) Fix from Oliver - should be able to switch selection mode back to 'MULTI' from SINGLE etc., refs #11722, !strict

Note: See TracTickets for help on using tickets.