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
1940
cell with numeric value is always string
posted

I can not delete this post, so this is a note that I solved this problem by myself.

Just skip the UltraControlContainerEditor and use the UltraTextEditor as EditorComponent directly and it works.

Blue

###############################

 

Hello,

I have an unbound tree with 2 columns.

column 2's DataType is object, because the value can be everything.

Now I want to edit an integer value in a single cell.

after editing I want to manually write the value into my object (unbound!)

but the cell's value is always a string, except by using a UltraNumericEditor in a UltraControlContainerEditor as the EditorComponent for the cell. Since this Editor is not acting as I expected I am trying to use an UltraTextEditor with data conversions with a DataFilter. With no success. :(

The DataFilter is called and the string value is successfully returned as an integer. How can I pass it to the cells value now? Why is it not working?

I am checking the value of the cell in BeforeNodeUpdate btw.

Blue

Parents
No Data
Reply
  • 71886
    Offline posted

    Hello Blue,

    Thank you for sharing this with our community and for your feedback.

    Please feel free to let me know if a question about our toolset comes up on your mind.

Children
No Data