Hi all,
Seems like something simple but I can't find where or how to control this behavior.
I have a xamwebgrid with a child band showing hierarchical information. There are text boxes in the parent as well as child rows.
The child rows allow me to type any character in the textboxes, but in the parent rows I can't type a minus (-) or plus (+) sign. Turns out these seem to be reserved for expanding/contracting the rows.
Can I turn this behavior off somehow?
Is the attached solution working for you? What i basically did was to add an EditorTemplate to your TemplateColumns (the same as the ItemTemplate), enable Editing upon CellActivation and turn off the "ReadOnly" property of your columns (otherwise they won't enter Edit mode). Now, the cells will enter Edit mode upon activation and you'll be able to enter the "+" and "-" chars in the editors. If the cell is not in Edit mode, the "+" and "-" keys are used for navigation (Expanding/Collapsing the Column Layouts) and that's why you're getting this effect.
Georgi
Okay, that worked, thank you.
All I need now is to make the entry field stay in place once you enter edit mode. Having the text move up to the top right corner of the cell isn't very nice looking.
-Chuck