Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

ListGrid setEditByCell(true) EscapeKeyEditAction.CANCEL undoes the whole row of edits

$
0
0
PROBLEM: It's nice to edit cell by cell with ListGrid:setEditByCell(true). When the esc key is depressed and ListGird:setEscapeKeyEditAction(EscapeKeyEditAction.CANCEL) is set, all the edits of the row that the cell is selected is undone. A user will make several edits within a row, and the user will only wish to undo the edit of the cell selected.

SOLUTION (feature request?): Only undo the cell selected to edit and leave the other edited cells of the respective row alone
  1. if the esc key is depressed
  2. if ListGird:setEscapeKeyEditAction(EscapeKeyEditAction.CANCEL)
  3. and if ListGrid:setEditByCell(true)
Version Info
  1. SNAPSHOT_v10.1d_2015-08-10/Enterprise Deployment 2015-08-10
  2. Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:26.0) Gecko/20100101 Firefox/26.0

Viewing all articles
Browse latest Browse all 4756