I wish to validate the value entered into a grid cell and cancel the
edit if it is invalid

I used the afterCellEdit method but found that both CurrentCellValue and
getValue return the existing (unchanged) value of the cell not the edit
value

1. How do I retrieve the edit value for the cell.

2. How do I stop  the edit value updating the cell value when it is
wrong ie cancel the edit

Also there may be gliche in the way Classdesigner presents the method ie
ClassDesigner offers afterCellEdit(self) which gives rise to an error
saying three args are required as per API afterCellEdit(self,row,col) 

Many Thanks

Mike Ayers

   

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/1261365632.31129.24.ca...@linux

Reply via email to