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
150
Row select for children not working
posted

Hello everybody,

I implemented the WHDG in one of our company pages. I use the "Default" styles and the following configuration. The Problem is that I'm only able to select the first row of the children.

<cc1:WebDataGrid ID="ddgProduced" runat="server" Width="100%" Height="710px" StyleSetName="Default" AutoGenerateColumns="false"
  AutoGenerateBands="true" DataMember="Order" DataKeyFields="OrderID" InitialDataBindDepth="-1" selectedRows="UltraGridRow[] Array">
  <Behaviors>
    <ig:Activation></ig:Activation>
            <ig:Selection Enabled="true" RowSelectType="Single" ></ig:Selection>
    <ig:RowSelectors RowNumbering="true"></ig:RowSelectors>
 
  </Behaviors>
  <Columns>
    <ig:BoundDataField DataFieldName="DeliveryDate" Key="DeliveryDate" Width="70" />
    <ig:BoundDataField DataFieldName="DeliveryNoteNumber" Key="DeliveryNoteNumber" Width="70" />
    <ig:BoundDataField DataFieldName="MaterialNumber" Key="MaterialNumber" Width="70" />
    <ig:BoundDataField DataFieldName="SupplierNumber" Key="SupplierNumber" Width="70" />
    <ig:BoundDataField DataFieldName="Supplier" Key="Supplier" Width="70" />
    <ig:BoundDataField DataFieldName="FirstWeight" Key="FirstWeight" Width="70" CssClass="Right" />
    <ig:BoundDataField DataFieldName="SecondWeight" Key="SecondWeight" Width="70" CssClass="Right" />
    <ig:BoundDataField DataFieldName="Quantity" Key="Quantity" Width="70" CssClass="Right"  />
    <ig:BoundDataField DataFieldName="TruckLicencePlate" Key="TruckLicencePlate" Width="70" />
    <ig:BoundDataField DataFieldName="TruckScaleID" Key="TruckScaleID" Width="70" />
    <ig:BoundDataField DataFieldName="WeightNote" Key="WeightNote" Width="70" />
    <ig:BoundDataField DataFieldName="State" Key="State" Width="70" />
    <ig:BoundDataField DataFieldName="OrderID" Key="OrderID" Width="70" Hidden="true" />
    <ig:BoundDataField DataFieldName="UOM" Key="UOM" Width="70" Hidden="true" />
  </Columns>
  <Bands>
    <ig:Band Key="ID" AutoGenerateColumns="false" DataMember="Entry" DataKeyFields="OrderID">
      <Columns>
        <ig:BoundDataField DataFieldName="OrderID" Key="OrderID" Width="70" Hidden="true" />
        <ig:BoundDataField DataFieldName="EntryID" Key="EntryID" Width="70" Hidden="true" />
        <ig:BoundDataField DataFieldName="lotName" Key="lotName" Width="70" />
        <ig:BoundDataField DataFieldName="SupplierBatch" Key="SupplierBatch" Width="70" />
        <ig:BoundDataField DataFieldName="PartieNumber" Key="PartieNumber" Width="70" />
        <ig:BoundDataField DataFieldName="NumberOfPallets" Key="NumberOfPallets" Width="70" />
        <ig:BoundDataField DataFieldName="NumberOfBacinella" Key="NumberOfBacinella" Width="70" />
        <ig:BoundDataField DataFieldName="CountryOfOrigin" Key="CountryOfOrigin" Width="70" />
        <ig:BoundDataField DataFieldName="BruttoWeight" Key="BruttoWeight" Width="70" />
        <ig:BoundDataField DataFieldName="NettoWeight" Key="NettoWeight" Width="70" />
        <ig:BoundDataField DataFieldName="AlcoholContent" Key="AlcoholContent" Width="70" />
        <ig:BoundDataField DataFieldName="Alcohol" Key="Alcohol" Width="70" />
        <ig:BoundDataField DataFieldName="Calibre" Key="Calibre" Width="70" />
        <ig:BoundDataField DataFieldName="TarePallet" Key="TarePallet" Width="70" />
        <ig:BoundDataField DataFieldName="TareBacinella" Key="TareBacinella" Width="70" />
        <ig:BoundDataField DataFieldName="DeliveryDate" Key="DeliveryDate" Width="70" />
        <ig:BoundDataField DataFieldName="MaterialNumber" Key="MaterialNumber" Width="70" />
        <ig:BoundDataField DataFieldName="SupplierNumber" Key="SupplierNumber" Width="70" Hidden="true"/>
        <ig:BoundDataField DataFieldName="TruckScaleID" Key="TruckScaleID" Width="70" Hidden="true"/>
        <ig:BoundDataField DataFieldName="WeightNote" Key="WeightNote" Width="70" Hidden="true"/>
        <ig:BoundDataField DataFieldName="State" Key="State" Width="70" />
        <ig:BoundDataField DataFieldName="StatePK" Key="StatePK" Width="70" Hidden="true"/>
      </Columns>
      <Behaviors>
        <ig:RowSelectors RowNumbering="true"></ig:RowSelectors>

      </Behaviors>
    </ig:Band>
  </Bands>
</cc1:WebDataGrid>

Best regards

Kai

Parents
No Data
Reply
  • 2680
    Offline posted

    Hello Kai,

    Thank you for contacting us.

    You should use multiple instead of single for RowSelectType:

    <ig:Selection Enabled="true" RowSelectType="Multiple"></ig:Selection>

    Please let me know if you need something else.

Children