mygrd.selectCell question


I’m currently working with Prof Suite 3.0. In the ‘onEditCell’ event I’m checking the value being entered in a particular column and based on the value I want to select a specific different column in the same row. My code snippet in the event handler is as follows:

        if(stage == 2 && cidx == CSTTranType)
                case CTExpenseID:

       return true

However once the CSTTransType data has been entered the system doesn’t automatically move to col CSTExp.

Please can you tell me what I’m doing wrong?



Please, note that the selectCell() method uses row index, not the row ID.
Please, refer to the following snippet:


Thanks Sematik. I understand now why it didn’t work.