Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
295
how to add new row to child band ?
posted

Hi,

I have created a WebHierarchialDataGrid with a child band. Both the AutoGenerateColumns and AutoGenerateBands are false.

The Markup code for the child band is as follows:

<

 

 

 

Bands>

<ig:Band AutoGenerateColumns="false" Width="400px" DataKeyFields="intRowID,intEOL_ItemID"> 

<Columns>

<ig:BoundDataField DataFieldName="intEOL_ItemID" Key="intEOL_ItemID" Width="0%" Hidden="true">

<Header Text="EOL Item Id" />

</ig:BoundDataField>

<ig:BoundDataField DataFieldName="intRowID" Key="intRowID" Header-Text="Row ID" Width="0%" Hidden="true"></ig:BoundDataField>

<ig:BoundDataField DataFieldName="intProductID" Key="intProductID" Width="0%" Header-Text="Product ID" Hidden="true"></ig:BoundDataField>

<ig:BoundDataField DataFieldName="vchProductPartNumber" Key="vchProductPartNumber" Header-Text="Product"></ig:BoundDataField>

</Columns>

<Behaviors>

<ig:EditingCore EnableInheritance="true">

<Behaviors>

<ig:RowAdding Alignment="Bottom" EnableInheritance="true">

</ig:RowAdding>

</Behaviors>

</ig:EditingCore>

</Behaviors>

</ig:Band>

</Bands>

I am facing the following error while expanding the parent row:

Is there any other way to enable the 'RowAdding' feature for the child band ?

 

Parents
No Data
Reply Children
No Data