Can't get value of excell combo

Hello,

I have an excell combo cell in a DHTMLXgrid control.

I have it loaded with this value / label pair:

value: 12345
label: 555 Main Street

If I execute this:

alert(mygrid.cells(rId,5).getText());

I get this:

555 Main Street

So far, so good. But if I execute this:

alert(mygrid.cells(rId,5).getValue());

I again get this:

555 Main Street

Please tell me, how do I get the value

12345

returned? What method do I use?

Thank you again for your help!

Hello, can anyone help answer my question, please? Thanks.

Unfortunately the issue cannot be reconstructed locally.
mygrid.cells(rId,5).getValue();
method returns value of the cell correctly for us.
If issue still occurs - please, provide with any kind of sample of your code or a complete demo, where the issue can be reproduced.

Hello once again,

I can’t quite explain why it’s happening, but the getValue and getText methods are now producing the correct results. Thank you.