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.3
Copyright © 2018, Rogue Wave Software, Inc. All Rights Reserved.