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
185
Xamgrid, Textcolumn and Double type
posted

Hello,

I have some problem with my Xamgrid.

I'm trying to make an editable xamgrid with this options :
            <ig:XamGrid.EditingSettings>
                <ig:EditingSettings AllowEditing="Row" IsMouseActionEditingEnabled="DoubleClick"
                        IsEnterKeyEditingEnabled="True" IsF2EditingEnabled="True"
                        IsOnCellActiveEditingEnabled="False" />
            </ig:XamGrid.EditingSettings>
           

My probleme is when i edit the unit price column.

If i put 10,10 it's ok, i have no problem but if i try to put 10.10 the cell's border become red.

My "." is not supported. My variable is type of double.

My value return an error and i can't validate the row.

i tried to do the same in normal TexBox, out of the Xamgrid and that's works. How can i resolve my problem ?

Did i have to use another type of column ? (unboundColumn, TemplateColumn)

Thanks