Row type difference depending on type of selection

https://snippet.webix.com/fmx2hr77
It's a number if you select via item click and in string if you use select()

Tagged:

Comments

  • edited March 2019

    Hello,
    Yes, that's right. It's expected behavior of select() method which has a converted value to a string type

  • But why is there a difference? It's not possible to rely on type-strict comparison due to this. Without any extra steps

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!