I am facing some problem in the grid control.Here i attached a sample for your reference to replicate the problem.
I have 2 rows and 10 columns in the grid. The cells in the first row is set with MaskEdit and the mask is set as "XX".
In the CurrentCellChanged event hanlder i move the CurrentCell to next available cell if the current cell is filled with the requested length.
If i move to next cell the last entered digit in from the previous cell is set in the current cell.
Here is the steps:
1. Run the application
2. Enter some numeric value in the first row first column
3. Now you can see the focus goes to next cell. but the next cell contains the previous cell last digit.
Please let me know how the overcome the problem.
ADAdministrator Syncfusion Team May 6, 2004 11:35 AM
Here is your sample back tweaked to avoid teh problem. The problem has to do with the MaskEdit cell. If you change the celltype to TextBaox, the problem goes away.
With MaskEdit, you can set a flag and use this flag in CurrentCellStartEditing to avoid the problem.