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
170
migrated 9.1 to 9.2 - UltraWebGrid behave differently for hierarchical Data
posted

Hi,

Recently I have upgraded to latest version 9.2, and all my ultrawebgrids are behaving differently where I am showing hierarchical data.

the grid loads normally but when I click on the parent band to explore the child band all other colums get hided, I can only see the first column of each record in grid.

I look it again , and come to know that the other columns are not getting hidden but the width of column get increased after I click to expand the grid band.

But 9.1 works fine.

Can some one explain.

  • 170
    posted

    My HTML mark up is following

      <igtbl:UltraWebGrid id="InfraGrid_Resellers" runat="server" EnableAppStyling="True" StyleSetName="Office2007Silver"
                         Width="100%" OnInitializeDataSource="Load_Through_Ajax" Browser="Xml"  OnDataBound="DataBound" OnInitializeRow="OnRowInitialize" >
                            <Bands>
                                <igtbl:UltraGridBand>
                                    <AddNewRow View="NotSet" Visible="NotSet">   </AddNewRow>
                                </igtbl:UltraGridBand>
                            </Bands>
                            <DisplayLayout ColWidthDefault="" Name="InfraGridxEndUsers" RowHeightDefault="15px"
                                SelectTypeRowDefault="Single" Version="3.00" ViewType="OutlookGroupBy"
                                GroupByColumnsHiddenDefault="No" IndentationDefault="15" SelectTypeCellDefault="Single"
                                SelectTypeColDefault="NotSet" AllowColumnMovingDefault="OnServer" HeaderClickActionDefault="NotSet" AllowSortingDefault="OnClient" AllowUpdateDefault="RowTemplateOnly" LoadOnDemand="Xml" NoDataMessage="No Customers">
                                <FilterOptionsDefault AllowRowFiltering="OnClient" FilterUIType="FilterRow"> </FilterOptionsDefault>                           
                                <SelectedRowStyleDefault BackColor="Silver">                            </SelectedRowStyleDefault>
                                <ActivationObject BorderColor="" BorderWidth="">                            </ActivationObject>
                                <FrameStyle Width="100%" Height="100%">                            </FrameStyle>
                                <RowStyleDefault Font-Names="Verdana" Font-Size="8pt" Height="18px">                            </RowStyleDefault>
                                <RowSelectorStyleDefault Height="18px">                            </RowSelectorStyleDefault>
                            </DisplayLayout>
                        </igtbl:UltraWebGrid>

     

    When I run it on seperate page it shows script error at line - Invalid argument

    spanElm.style.width = (tdWidth - spanElm.offsetLeft) + "px";

    in one of the script file has dynamic name, and on top there is comment

    // General object. Where it all starts.

    Hope this will more clerify the problem.