none
Como montar uma TreeTable? RRS feed

  • Pergunta

  • Bom dia! Tenho uma pagina construida com Telerik que monta um grid com uma especie de TreeTable, agrupando as informações.

    Como faço isso como uma com javascript?

    meu aspx com Telerik

    <div id="WorkingZone">
                    <telerik:RadGrid ID="RadGrid1" runat="server" DataSourceID="dbNDriveSecuritySqlDataSource"
                        GridLines="None" Skin="Windows7">
                        <ClientSettings>
                            <Scrolling AllowScroll="True" UseStaticHeaders="True" />
                        </ClientSettings>
                        <GroupHeaderItemStyle HorizontalAlign="Left" />
                        <MasterTableView AutoGenerateColumns="False" DataSourceID="dbNDriveSecuritySqlDataSource"
                            GroupsDefaultExpanded="False">
                            <Columns>
                                <telerik:GridBoundColumn DataField="Market" FilterControlAltText="Filter Market column"
                                    HeaderText="Region/Market" SortExpression="Market" UniqueName="Region/Market">
                                    <ItemStyle HorizontalAlign="Left" />
                                </telerik:GridBoundColumn>
                                <telerik:GridHyperLinkColumn DataNavigateUrlFields="idLocation" DataNavigateUrlFormatString="PathFolders.aspx?idLocation={0}"
                                    DataTextField="LocationName" FilterControlAltText="Filter column column" HeaderText="Location Name"
                                    UniqueName="column">
                                    <ItemStyle HorizontalAlign="Left" />
                                </telerik:GridHyperLinkColumn>
                            </Columns>
                            <GroupByExpressions>
                                <telerik:GridGroupByExpression>
                                    <SelectFields>
                                        <telerik:GridGroupByField FieldAlias="&nbsp;" FieldName="Region" HeaderValueSeparator="" />
                                    </SelectFields>
                                    <GroupByFields>
                                        <telerik:GridGroupByField FieldAlias="Entry" FieldName="Region" />
                                    </GroupByFields>
                                </telerik:GridGroupByExpression>
                            </GroupByExpressions>
                            <EditFormSettings>
                                <EditColumn FilterControlAltText="filter editcommandcolumn column">
                                </EditColumn>
                            </EditFormSettings>
                        </MasterTableView>
                        <FilterMenu EnableImageSprites="false">
                        </FilterMenu>
                    </telerik:RadGrid>
                </div>

    sexta-feira, 28 de junho de 2013 13:16