Hi all,
In my application, I have a grid with some cells disabled for editing and some cells with allow editing. I wan to make these editable cells to accept only numeric entries. There is a way to handle the key down event of grid and only accept the numeric keys. Is there some other way to do this. During my R&D I came to know a property "Editor" of cell which accept "Infragistics.Win.EmbeddableEditorBase" object. Is this helpful in this regard and what will be the way?
Thanks
Habib Ahmad
Hi Luc,
That makes sense. Editor overrides EditorComponent. :)
Hi Mike,
Indeed, it has effect, but only when there is no editor attached to the column. This was the problem. After removing the column editor, it works.
Thanks and regards,
Luc
Assigning an EditorComponent to a column certainly does have an effect on the cell. But what kind of effect are you trying to achieve?
The UltraNumericEditor can not be assigned to the cell.Editor property, because the UltraNumericEditor is not inherited from the EmbeddableEditorBase class.
The UltraNumericEditor can be assigned tot the cell.EditorComponent property, but this has no effect on the cell.
Do you have any suggestion for using a numeric editor in a WinGrid cell?
Regards,
I'm afraid I don't understand your post. The URL you listed here is for WebGrid, not WinGrid. The code you have listed here doesn't seem to have any relation to the original poster's question about using masks on some cells of a column and not others. Is this related in some way? Or did you post in the wrong place by accident?