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
485
Webhierarchicaldatgrid - Dropdown Provider in bands not working
posted

Hi,

I have requirement of adding a dropdown provider in Edit mode in child bands.

The dropdown provider comes in the parent row but is not coming in 2nd and 3rd child bands.

Please assist.

PFB the sample aspx code.

Please revert ASAP as we have a very urgent requirement, we have a deliverables schedule on next week.

<ig:WebHierarchicalDataGrid ID="igWHGCommon" runat="server" ViewStateMode="Enabled"

                            EnableDataViewState="True" EnableAjax="False" EnableAjaxViewState="False" AutoGenerateBands="False"

                            HeaderCaptionCssClass="gridHeader" AutoGenerateColumns="False" DataKeyFields="UniqueId"

                            InitialDataBindDepth="3" ClientIDMode="Static" Width="99.1%" Height="410px">

                            <EmptyRowsTemplate>

                                <div align="center" style="width: 100%">

                                    No Data Found</div>

                            </EmptyRowsTemplate>

                            <ClientEvents Click="ClickHandler" MouseUp="WebHierarchicalDataGridMouseDown" />

                            <Bands>

                                <ig:Band DataMember="ListofDispatchLog" Key="DispatchLogUniqueId" DataKeyFields="UniqueId"

                                    AutoGenerateColumns="false">

                                    <Columns>

                                        <ig:BoundDataField Key="DispatchStatus" Header-Text="Status" DataFieldName="Status"

                                            Width="200px">

                                            <Header Text="Status"></Header>

                                        </ig:BoundDataField>

                                    </Columns>

                                    <Behaviors >

                                        <ig:EditingCore>

                                            <Behaviors>

                                                <ig:CellEditing>

                                                    <ColumnSettings>

                                                        <ig:EditingColumnSetting ColumnKey="DispatchStatus" EditorID="igDispatchStatus" />

                                                    </ColumnSettings>

                                                </ig:CellEditing>

                                            </Behaviors>

                                        </ig:EditingCore>

                                    </Behaviors>

                                    <Bands>

                                        <ig:Band DataMember="ActivityLog" Key="ActivityLogUniqueId" DataKeyFields="UniqueId"

                                            AutoGenerateColumns="false">

                                            <Columns>

                                                <ig:BoundDataField Key="GenerateStatus" Header-Text="Status" DataFieldName="Status"

                                                    Width="200px">

                                                    <Header Text="Status"></Header>

                                                </ig:BoundDataField>

                                            </Columns>

                                            <Behaviors>

                                                <ig:EditingCore>

                                                    <Behaviors>

                                                        <ig:CellEditing>

                                                            <ColumnSettings>

                                                                <ig:EditingColumnSetting ColumnKey="GenerateStatus" EditorID="igGenerateStatus" />

                                                            </ColumnSettings>

                                                        </ig:CellEditing>

                                                    </Behaviors>

                                                </ig:EditingCore>

                                            </Behaviors>

                                        </ig:Band>

                                    </Bands>

                                </ig:Band>

                            </Bands>

                            <Columns>

                                <ig:BoundDataField Header-Text="Status" Key="Status" DataFieldName="Status" Width="200px">

                                    <Header Text="Status"></Header>

                                </ig:BoundDataField>

                            </Columns>

                            <Behaviors>

                                <ig:EditingCore AutoCRUD="true">

                                    <EditingClientEvents CellValueChanging="EnableDisableCheckbox" />

                                    <Behaviors>

                                        <ig:CellEditing>

                                            <CellEditingClientEvents EnteringEditMode="EnableDisableEditing" />

                                            <ColumnSettings>

                                                <ig:EditingColumnSetting ColumnKey="Status" EditorID="igWDDStatus" ReadOnly="true" />

                                            </ColumnSettings>

                                        </ig:CellEditing>

                                    </Behaviors>

                                </ig:EditingCore>

                                <ig:Selection CellClickAction="Cell" RowSelectType="Single">

                                </ig:Selection>

                                <ig:Filtering Enabled="true">

                                </ig:Filtering>

                                <ig:Sorting Enabled="true">

                                </ig:Sorting>

                                <ig:ColumnResizing Enabled="true">

                                </ig:ColumnResizing>

                                <ig:ColumnMoving Enabled="true">

                                </ig:ColumnMoving>

                            </Behaviors>

                            <EditorProviders>

                                <ig:DropDownProvider ID="igWDDStatus">

                                    <EditorControl ID="DropdownProviderStatus" runat="server" DisplayMode="DropDownList"

                                         Width="180px">

                                        <AutoPostBackFlags ValueChanged="Async" />

                                    </EditorControl>

                                </ig:DropDownProvider>

                                <ig:DropDownProvider ID="igDispatchStatus">

                                    <EditorControl ID="DropdownProviderDispatchStatus" runat="server" DisplayMode="DropDownList"

                                        Width="180px" EditorID="igDispatchStatus">

                                        <AutoPostBackFlags ValueChanged="Async" />

                                    </EditorControl>

                                </ig:DropDownProvider>

                                <ig:DropDownProvider ID="igGenerateStatus">

                                    <EditorControl ID="DropdownProviderGenerateStatus" runat="server" DisplayMode="DropDownList"

                                        Width="180px">

                                        <AutoPostBackFlags ValueChanged="Async" />

                                    </EditorControl>

                                </ig:DropDownProvider>

                            </EditorProviders>

                            <GroupingSettings GroupAreaCssClass="TextAlignCenter" EnableColumnGrouping="True"

                                InitialRowExpandState="Collapsed" GroupAreaVisibility="Visible" EmptyGroupAreaText="Drag a column header here to group by that column."

                                GroupByAreaLocation="Top">

                            </GroupingSettings>

                        </ig:WebHierarchicalDataGrid>

 

Regards,

Nilesh

                 

Parents Reply Children
No Data