Hi,
I am using Infragistics 2007 version 3 and working in vb.net.I am using an ultragrid on my form.I have a Quantity ordered column which will permit no. of decimal places entered in it according to the value supplied in the item no. cell for each row.So i need a separate cell formatting for Quantity Ordered column for each row.How do i acheive this?I have been able to restrict the no. of decimal places entered by setting the Maskinput,maskdisplaymode and maskclipmode on BeforeCellActivate event.But i also want to show only the no. of decimal places that are permitted for each row.
I don't want to bind my cell to some Editor control as i have several columns which need this functionality.Do i have any other alternatives.
Thanks in advance,
Prerna
You have to use an editor for this. What you do is set the column's UseEditorMaskInfo property to true. Then you create A MaskedEdit or EditorWithMask for each row and set the mask properties on the editor and assign it to the cell in the InitializeLayout event. You don't actually need an editor for each cell. You can create one editor for each mask and re-use the same editor on as many cells as you want.