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
410
Rowselector and multi-row selection
posted

I created a new thread because the other one had a answered checkbox so I wasnt sure if it would get answered.

From the other thread - (http://forums.infragistics.com/forums/t/2165.aspx)

"You would need to have the DisplayLayout.SelectTypeRowDefault set to Extended. Then shift clicking or control clicking will select based on the normal patterns." 

 

Is this the only property that needs set? I have tried to set this for my grid and it doesnt seem to work. Also when I double click my RowSelector it gives me a little dialogue next to it with a ok/cancel button, how do I turn that off?

 

Parents
No Data
Reply
  • 410
    posted

    Bump.

     Here is the code for my grid.

     

    <igtbl:UltraWebGrid ID="UltraWebGrid1" runat="server" Browser="Xml" DataSourceID="ObjectDataSource1"

    Height="783px" OnInitializeRow="UltraWebGrid1_InitializeRow"

    Width="1224px" OnDeleteRow="UltraWebGrid1_DeleteRow" OnUpdateCell="UltraWebGrid1_UpdateCell" EnableCrawlerDetection="False">

    <Bands>

    <igtbl:UltraGridBand>

    <RowEditTemplate>

    <br />

    <p align="center">

    <input id="igtbl_reOkBtn" onclick="igtbl_gRowEditButtonClick(event);" style="width: 50px"

    type="button" value="OK" />&nbsp;

    <input id="igtbl_reCancelBtn" onclick="igtbl_gRowEditButtonClick(event);" style="width: 50px"

    type="button" value="Cancel" /></p>

    </RowEditTemplate>

    <AddNewRow View="NotSet" Visible="NotSet">

    </AddNewRow>

    <RowTemplateStyle BackColor="Window" BorderColor="Window" BorderStyle="Ridge">

    <BorderDetails WidthBottom="3px" WidthLeft="3px" WidthRight="3px" WidthTop="3px" />

    </RowTemplateStyle>

    </igtbl:UltraGridBand>

    </Bands>

    <DisplayLayout AllowColSizingDefault="Free" AllowColumnMovingDefault="OnClient" AllowDeleteDefault="Yes"

    AllowUpdateDefault="Yes" BorderCollapseDefault="Separate" FixedHeaderIndicatorDefault="NotSet"

    HeaderClickActionDefault="NotSet" HeaderTitleModeDefault="Always" LoadOnDemand="Xml"

    Name="UltraWebGrid1" RowHeightDefault="20px" SelectTypeRowDefault="Extended" Version="4.00" XmlLoadOnDemandType="Virtual" SelectTypeCellDefault="NotSet" SelectTypeColDefault="NotSet" CellClickActionDefault="Edit" SortingAlgorithmDefault="NotSet" IndentationTypeDefault="Flat" TableLayout="Fixed">

    <GroupByBox>

    <BoxStyle BackColor="ActiveBorder" BorderColor="Window">

    </BoxStyle>

    </GroupByBox>

    <GroupByRowStyleDefault BackColor="Control" BorderColor="Window">

    </GroupByRowStyleDefault>

    <ActivationObject BorderColor="" BorderWidth="">

    </ActivationObject>

    <FooterStyleDefault BackColor="LightGray" BorderStyle="Solid" BorderWidth="1px">

    <BorderDetails ColorLeft="White" ColorTop="White" WidthLeft="1px" WidthTop="1px" />

    </FooterStyleDefault>

    <RowStyleDefault BackColor="Window" BorderColor="Silver" BorderStyle="Solid" BorderWidth="1px"

    Font-Names="Microsoft Sans Serif" Font-Size="8.25pt">

    <BorderDetails ColorLeft="Window" ColorTop="Window" />

    <Padding Left="3px" />

    </RowStyleDefault>

    <FilterOptionsDefault>

    <FilterOperandDropDownStyle BackColor="White" BorderColor="Silver" BorderStyle="Solid"

    BorderWidth="1px" CustomRules="overflow:auto;" Font-Names="Verdana,Arial,Helvetica,sans-serif"

    Font-Size="11px">

    <Padding Left="2px" />

    </FilterOperandDropDownStyle>

    <FilterHighlightRowStyle BackColor="#151C55" ForeColor="White">

    </FilterHighlightRowStyle>

    <FilterDropDownStyle BackColor="White" BorderColor="Silver" BorderStyle="Solid" BorderWidth="1px"

    CustomRules="overflow:auto;" Font-Names="Verdana,Arial,Helvetica,sans-serif"

    Font-Size="11px" Height="300px" Width="200px">

    <Padding Left="2px" />

    </FilterDropDownStyle>

    </FilterOptionsDefault>

    <HeaderStyleDefault BackColor="LightGray" BorderStyle="Solid" HorizontalAlign="Left">

    <BorderDetails ColorLeft="White" ColorTop="White" WidthLeft="1px" WidthTop="1px" />

    </HeaderStyleDefault>

    <EditCellStyleDefault BorderStyle="None" BorderWidth="0px">

    </EditCellStyleDefault>

    <FrameStyle BackColor="Window" BorderColor="InactiveCaption" BorderStyle="Solid"

    BorderWidth="1px" Font-Names="Microsoft Sans Serif" Font-Size="8.25pt" Height="783px"

    Width="1224px">

    </FrameStyle>

    <Pager MinimumPagesForDisplay="2">

    <PagerStyle BackColor="LightGray" BorderStyle="Solid" BorderWidth="1px">

    <BorderDetails ColorLeft="White" ColorTop="White" WidthLeft="1px" WidthTop="1px" />

    </PagerStyle>

    </Pager>

    <AddNewBox Hidden="False">

    <BoxStyle BackColor="Window" BorderColor="InactiveCaption" BorderStyle="Solid" BorderWidth="1px">

    <BorderDetails ColorLeft="White" ColorTop="White" WidthLeft="1px" WidthTop="1px" />

    </BoxStyle>

    </AddNewBox>

    <ClientSideEvents AfterCellUpdateHandler="UltraWebGrid1_AfterCellUpdateHandler" />

    </DisplayLayout>

    </igtbl:UltraWebGrid>

Children