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,
Glad option 3 worked for you.
But to be clear the fix for the scrolling issue was related to an issue in RegisterKeyboard on the grid, so you'd be able to use your own editor still, and the fix I made would work for you just the same.
-SteveZ
#3 is perfect but I will need a private build please for scrolling issue.
thank you,
#3 may work, let me try and I will let you know
Steve,
I should add that i can create a custom editor but since it would create a problem with scrolling (as i reported earlier) i was hoping that may be there is another way to reuse an existing edit field. if not and I need to use custom editor then I will need you to build for me a version with the fix for scrolling.
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.