Hi to you all.
I am working in a WinGrid with "just to display information" purpouses, however this grid has to be able to display the data with some masking, coloring and stuff. The little problem I have found is that when I set the CellMultiLine property, I loose the masking properties and I really need to have both.
I did some research and found this line in an IG KB article:
"The CellMultiLine property does not pertain to multi-line editing, only display. Also, you should note that setting a cell to multi-line mode will disable data masking. Only single-line cells can be masked (using the MaskInput and MaskDisplayMode properties.)"
So I'm only double checking to see if there's something I can do abaout this; some sort of workaround or anything to achive such functionality.
Thanks for your help.
This is correct, I am not aware of any multiline capabilities with using a mask. You should submit a feature request for this.
-Matt
Hi, Matt.
Thanks for your reply.
Since it's not possible to have both functionalities, I've been trying to get the word wrapping in just certain cells (/columns) within the row (even though I don't know is this is coherent) instead of setting the wrapping property to the whole layout of the grid. Is it possible to do that somehow?
Thanks again.
If you want a different editor in different cells, you could certaily either set the Style of the cell, or Editor, during the InitializeRow event; the same can be done for a column in the InitializeLayout event. If you want to create a new editor, you could create a new EditorWithText and assign that to the cell/column; I would recommend that you reuse this editor as much as possible for efficiency, since only one cell can be in edit mode at a given time anyway.