We have a ListGrid with a field as follows:
This allows us to map PROCESSING and IMPORTED icons into that column, based on the row data. A very cool feature, BTW. We book an order as follows:
to turn on the PROCESSING image in the field (an animated gif, actually), then we do an updateData() to trigger the action on the server, which returns the full updated row, including a STATUS of IMPORTED. The image field never updates to the new image when this occurs. Other fields, such as the order number, update as expected.
Additionally, and as expected, explicitly updating the STATUS column in the callback works:
And the new image is shown in the field.
Are image type fields intended to automatically update based on new values that come back from an update operation?
Pete
Code:
{title:"Status", name:"STATUS", type:"image", imageURLPrefix: "", imageURLSuffix: ".gif"}
Code:
orderReviewListGrid.setEditValue(rowNum, "STATUS", "PROCESSING");
Additionally, and as expected, explicitly updating the STATUS column in the callback works:
Code:
orderReviewListGrid.updateData(newRecord, this.getID() + ".parent.orderReviewListGrid.setEditValue(rowNum, 'STATUS', 'IMPORTED');");
Are image type fields intended to automatically update based on new values that come back from an update operation?
Pete
Comment