grid improvement (inplace editing of cell values with picklisteditor and stringeditor)
Original Reporter info from Mantis: cdcd
-
Reporter name: Oleg
Original Reporter info from Mantis: cdcd
- Reporter name: Oleg
Description:
there are two improvements
- there was no check for "EditorIsReadOnly" when accepting text from stringselleditor in the way i found it in TPickListCellEditor.Select method, so i moved the
if FGrid.EditorIsReadOnly then
exit;
block to TCustomStringGrid.SetEditText so that it works similar with celleditors of all types
- when typing test into picklist's combo (using it like stringeditor instead of selecting a value from a list) the value passed to ValidateEntry was not the typed value, but the last selected from the picklist, although the value of the cell was really set to the typed value - so validation could not be performed correctly.
Mantis conversion info:
- Mantis ID: 15833
- Version: 0.9.29 (SVN)
- Fixed in version: 0.9.29 (SVN)
- Fixed in revision: 27317 (#90bf8f4f)