I used this code for adding two numbers
//contentItem.dataBind("screen.Table1Item.Value1", function (newValue) {
// contentItem.screen.Property1 =(contentItem.screen.Table1Item.Value1);
//});
//contentItem.dataBind("screen.Table1Item.Value2", function (newValue) {
// contentItem.screen.Property1 = (contentItem.screen.Table1Item.Value2);
//});
//contentItem.dataBind("screen.Table1Item.Property1", function (newValue) {
// contentItem.screen.Property1 = (contentItem.screen.Table1Item.Value1) + (contentItem.screen.Table1Item.Value2);
//});
Instead of adding the numbers it is appending.Is there anyone who can help me to figure out this issue?
this works:
both
value1
andvalue2
are set as integers in the table.Property1
is a data item set as an integer