Dynamic View Services > Implementing a Representation Model > Implementing a Table Representation Model > Component-to-Server Updates
 
Component-to-Server Updates
Editing an indexed attribute is similar to editing a simple attribute. The callback functions used to notify the server are the same. The only difference lies in the function used to get the attribute identifier. This point is illustrated by the code sample below, which shows the function notifying the server that a string value in a column has been modified:
void RowR::onSetValue(int index,IlsString value)
{
onUpdate(getAttributeId("column",index),value);
}

Version 6.1
Copyright © 2016, Rogue Wave Software, Inc. All Rights Reserved.