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
160
Different inputmask for each row
posted

Hi all,

I'm using webdatagrid to display a number of customer order items.

For each row, i've got a "Quantity" column.  But for each row, i can have a different input mask for the "Quantity" column.

Like :

Row 1 : Quantity = 12.3 -> so i can only enter one number or less after the coma

Row 2 : Quantity = 13.44 -> i can only enter two numbers or less after the coma

Row 3 : Quantity = 10 -> there is no number after the coma

I've got a property for each row in my datasource where i store the number of decimals.

I don't know how to do that with webdatagrid.  I found the WebMaskEditor but it seems to work only for the entire column and not for each specific cell.

Thank you for your help.