In the infragistics documentation it's specified :
Note: When RowAdding is enabled for child bands and if a parent row does not have any children, it will still have an expansion indicator, which when expanded will show an empty child grid and an Add new row at the bottom.
But with my self referenced WHDG, I have an expansion indicator on "row with no children" (Since I set the property IsEmptyParent to True, i can see it). But i didn't found the way to show an empty row island with the addrow...
Here's my aspx code:
<ig:WebHierarchicalDataGrid ID="MainGrid" runat="server" Height="600px" Width="100%" AutoGenerateBands="False" AutoGenerateColumns="False" DataKeyFields="ID" DataMember="sqlDS_DefaultView" DataSourceID="whsDS" IsSelfReference="True" Key="sqlDS_DefaultView"OnRowIslandsPopulated="MainGrid_RowIslandsPopulated"oninitializerow="MainGrid_InitializeRow"onrowislandspopulating="MainGrid_RowIslandsPopulating"><Columns>...</Columns><Behaviors><ig:EditingCore EnableInheritance="True"><Behaviors><ig:CellEditing EnableInheritance="True"></ig:CellEditing><ig:RowAdding Alignment="Bottom" EnableInheritance="True"><EditModeActions MouseClick="Single" /></ig:RowAdding><ig:RowDeleting EnableInheritance="True" /></Behaviors></ig:EditingCore><ig:Selection CellClickAction="Row" RowSelectType="Single"></ig:Selection><ig:RowSelectors></ig:RowSelectors><ig:Sorting></ig:Sorting><ig:Paging></ig:Paging><ig:Filtering></ig:Filtering></Behaviors></ig:WebHierarchicalDataGrid>
I tried to add an empty ContainerGrid in the row.RowIslands during the RowislandPopulating event, but it don't works too
I really love infragistics with its features and its documentation !
Gregory,
For workaround see:
http://community.infragistics.com/forums/t/58065.aspx
UP!!