Troy
  • Troy
  • Newbie Topic Starter
2019-10-13T01:37:41Z
I'm trying to not only select a text cell but to put the cell into edit mode.

I first select the cell with .CellSelected(.Currow,23) = true. That turns the cell blue.

I then try to enter edit mode with .RequestEditCurCell with no parameters. It doesn't do anything. It doesn't fire the RequestEdit event. It doesn't emulate the double-click as it states in the documentation.

I still have to double-click the cell to get into edit mode. I'd like to allow the user to just start entering data in that cell without having to manually enter edit mode.

What am I doing wrong?

Thanks.

Troy



Igor/10Tec
2019-10-15T15:49:30Z
Does your grid work in multi-select mode? If so, then, most likely, you just make the cell selected but not current. This is not not the same in the general case. The RequestEditCurCell method activates editing in the CURRENT cell.

If you are not using the latest build of iGrid (7.0.17), try to reproduce the problem in it. According to the source code, the CellSelected property should make the cell current too automatically in single-select mode.

BTW, as a rule, the current cell is marked with a special dotted focus rectangle if you have not turned it off with the FocusRect property.
Users browsing this topic