Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
135
Formatting individual row cells in ultragrid.
posted

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

Parents
No Data
Reply
  • 2334
    posted
    I believe the only way to achieve this is to set the EditorControl property of the cell in the InitializeRow event of the grid and set the appropriate Masking/Formatting properties of the editor. To my knowledge that is the only way to get cell-by-cell functionality.
Children