steve,
say I want to intercept DisplayEditor and remove from the keyboard inputassisatntitem and change the keyboard type to numeric.
what would be the place to do it? Where would I have access to UITextField control to do that?
Do I need to create a new field in my column definition class or somehow I can gain access to provided one?
Thank you
Mark
Hey Mark,
So you've got a few options.
1. In the display Editor, you can create the editor you want to display, and have full control of it.
2. Like in the sample code you sent me, you can access the editor in the DisplayEditor, after you call the super version: UITextField field = (UITextField) cell.Subviews[0]; However, this would be after the keyboard is registered to display, so is probably to late for this purpose.
3.The DSH, has a property called EditingDelegate, that presents you with the actual editor being displayed. It also cals this before the keyboard is displayed thus giving you a chance to change the keyboard type on the editor.
-SteveZ
thank you,
#3 may work, let me try and I will let you know