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
UltraWebGrid Band column move - only header moves
posted

Hi,

I have a ultrawebgrid, in hierarchical type. Which allows sorting column moving by setting up the appropriate properties of grid.

1) I am having issue with column moving , when I try to move the 0th band column, it moves successfully, but for 1th band - child band it fails. It only moves a column header and not whole column, the data in the column remains same.

2) Even one more thing that when I click (plus sign of)0th band to open up child band hierarchy, and move column then the bands collapses again, to view whether the column is moved or not I need to again expand the 0th band and then see the record. Any suggestion to keep both band in view so that I will not need to again expand the 0th band.

I am some how sure both these problems are related to each other , if one solved other will get solved.

Can someone help me.

The HTML markup for ultrawebgrid 9.1 is

<igtbl:UltraWebGrid ID="InfraGrid_Distributors" runat="server" Browser="Xml" EnableAppStyling="True" Width="100%" StyleSetName="Office2007Black" OnInitializeDataSource="Load_Through_Ajax" OnInitializeRow="RowInitialize" > 
                <DisplayLayout CompactRendering="False" RowHeightDefault="20px" Version="4.00" ViewType="OutlookGroupBy"
                BorderCollapseDefault="Separate" LoadOnDemand="Xml"
                 Name="ctl24xInfraGridxDistributors" AllowUpdateDefault="RowTemplateOnly"
                  NullTextDefault="Not Set" AllowColumnMovingDefault="OnServer"
                ColWidthDefault="" IndentationDefault="20">
                <FrameStyle BorderWidth="1px" Font-Size="8pt" Font-Names="Verdana" Width="100%"
                    BorderStyle="Solid">
                </FrameStyle>               
                <ActivationObject BorderColor="" BorderWidth="">
                </ActivationObject>
                <FilterOptionsDefault AllowRowFiltering="OnClient" FilterUIType="FilterRow">
                </FilterOptionsDefault>
                 <ClientSideEvents AfterXmlHttpResponseProcessed="InfraGrid_Products_AfterXmlHttpResponseProcessed" AfterCellUpdateHandler="AfterCellUpdate">
                             </ClientSideEvents> 
            </DisplayLayout>
            <Bands>
          
               <igtbl:UltraGridBand ColFootersVisible="Yes" ColHeadersVisible="Yes">
                    <AddNewRow View="NotSet" Visible="NotSet">
                    </AddNewRow>
            <Columns>            
                <igtbl:TemplatedColumn AllowUpdate="Yes" Key="Chk" Type="CheckBox">
                                     <HeaderTemplate>
                                             <input type="checkbox" runat="server" id="cbSelectAll" onclick="BLOCKED SCRIPTfrmParent=99;SelectAll(this.checked);"  />
                                             <asp:LinkButton ID="Lnk_del" runat="server" CausesValidation="false" OnClick="DeleteSelectedRecords"
                                                 onclientclick="BLOCKED SCRIPTreturn Delete('distributor');" Text="Delete" ToolTip="Click to Delete"></asp:LinkButton>
                                     </HeaderTemplate>
                                     <HeaderStyle Height="15px" />                                      
               </igtbl:TemplatedColumn>               
            </Columns>
             <HeaderStyle CssClass="igtbl_Band1" />
                </igtbl:UltraGridBand>                 
                 <igtbl:UltraGridBand>
                         <HeaderStyle CssClass="igtbl_Band2" />
                     <AddNewRow View="NotSet" Visible="NotSet">
                     </AddNewRow>
                 </igtbl:UltraGridBand>                 
                  <igtbl:UltraGridBand>
                         <HeaderStyle CssClass="igtbl_Band3" />
                      <AddNewRow View="NotSet" Visible="NotSet">
                      </AddNewRow>
                 </igtbl:UltraGridBand>                 
                  <igtbl:UltraGridBand>
                         <HeaderStyle CssClass="igtbl_Band4" />
                      <AddNewRow View="NotSet" Visible="NotSet">
                      </AddNewRow>
                 </igtbl:UltraGridBand>                 
                  <igtbl:UltraGridBand >
                         <HeaderStyle CssClass="igtbl_Band5" />
                      <AddNewRow View="NotSet" Visible="NotSet">
                      </AddNewRow>
                 </igtbl:UltraGridBand>              
            </Bands>                          
        </igtbl:UltraWebGrid>

  • 49378
    Suggested Answer
    posted

    Hi amol123,

    Thank you for pointing out this matter to us. I have investigated the scenario you have described and notified our engineering staff of the issue with moving columns in ultraWebGrid. To ensure that this matter will receive attention I have logged this behavior with our internal tracking system. The next step will be for a developper to review my investigation and confirm my findings in order to offer a resolution.The ID of the issue in our tracking system is 83901.

    Please let me know if you have any questions.

    Best Regards,

    Petar Ivanov
    Developer Support Engineer Infragistics, Inc.
    http://ko.infragistics.com/support