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

Parents
  • 138253
    Offline posted

    Hello Greg,

     

    Thank you for your post. I have been looking into it and I created a sample project for you following your scenario and everything seems to work ok on my side. If the sample doesn’t satisfies all your needs feel free to modify it, so it reproduces your behavior and send it back to me for further investigation.

     

    Looking forward for your reply.

    XamGridDoubleValues.zip
Reply Children