Skip to Content
0
Former Member
Oct 24, 2003 at 12:23 PM

Data binding doesn't work with dynamic indices

39 Views

Hi all,

I have got a problem with data binding and can't think of a way to fix it. My code looks like the following:

...

Although the string for databinding looks good, it doesn't work! The string (e.g. //model/MT_MTRRA[1].readingresult) is simply shown as input in the input field.

When hard-coding the index:

...

value="//model/MT_MTRRA[1].readingresult"

...

data binding works, but a hard-coded index is of course not what I want. Using a table view instead is not an option, because the structure to be edited is too complex for that.

Any suggestions?

Thanks!

Stephan