Hi,
I have a ListGrid which is mapped to a DataSource xml. The DataSource xml has 5 fields defined and is further mapped to database columns in the back end. I am showing only the first two fields in my listgrid and use the other fields data also for some calculations.
var record = listgridname.getRecord(0);
var field3value = record.field3
This is how i access the values of the unshown fields. Now I have a doubt on updating this value.
Now i need to make a few calculations and update all the fields in the listgrid, even the fields which iam not showing.
listgridname.setEditValue(0,field3,newValue);
I am using the above to update the new value to the unshown field. Its working for the first two fields but not for the unshown fields. How can i update or set new value to those fields which i dont show?
I have a ListGrid which is mapped to a DataSource xml. The DataSource xml has 5 fields defined and is further mapped to database columns in the back end. I am showing only the first two fields in my listgrid and use the other fields data also for some calculations.
var record = listgridname.getRecord(0);
var field3value = record.field3
This is how i access the values of the unshown fields. Now I have a doubt on updating this value.
Now i need to make a few calculations and update all the fields in the listgrid, even the fields which iam not showing.
listgridname.setEditValue(0,field3,newValue);
I am using the above to update the new value to the unshown field. Its working for the first two fields but not for the unshown fields. How can i update or set new value to those fields which i dont show?
Comment