Is it possible to display some of the client data from my grid as a label. I want it displayed on the template form, but it is not an editable column. Is this possible?
Hello lorettac242 ,
Indeed that is possible. You just need to change the GetValueJavaScript and SetValueJavaScript to be compatible with the label since the label doesn’t have value property.
For example if the label in you template is defined like this:
<asp:Label ID="control_id" runat="server" Text="" />
The RowEditingClientBinding must look something like this:
<ig:RowEditingClientBinding ColumnKey="id" ControlID="control_id" GetValueJavaScript="$get({ClientID}).innerHTML"
SetValueJavaScript="$get({ClientID}).innerHTML={value}" />
I’m also attaching a sample with this. Let me know if you have any further questions.
Best Regards,
Maya Kirova
Developer Support Engineer
Infragistics, Inc.
http://es.infragistics.com/support