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
40
Ultrawebgrid - Ultragridcolumn DropDownList, change DropDownList width
posted

Hello,

I have a Ultrawebgrid with a DropDownList in one of the columns. The dropdown takes the whole width available. I would like to make the dropdown itself smaller leaving the column with intact. 

Thank you very much in advance

<

igtbl:ultrawebgrid id="m_gridIdentifiers" runat="server" style="z-index: 101; LEFT: 8px; position: absolute; top:

29px"

Width="400px" Height="120px" ImageDirectory="/ig_common/Images/" OnInitializeRow="m_gridIdentifiers_InitializeRow" TabIndex="17"

>

<DisplayLayout ColWidthDefault="120px" StationaryMargins="Header" RowHeightDefault

="26px"

Version="4.00" HeaderClickActionDefault="SortSingle" BorderCollapseDefault="Separate" Name

="ctl00xmxgridIdentifiers"

TableLayout="Fixed" AllowAddNewDefault="Yes" CellClickActionDefault="RowSelect" NoDataMessage

="No Assignments">

<FrameStyle CssClass="FrameStyle" Width="472px" Height="95px" > </FrameStyle

>

<HeaderStyleDefault CssClass="HeaderStyle" Height="20px" ></HeaderStyleDefault

>

<RowSelectorStyleDefault CssClass = "DefaultRowSelectorStyle" ></RowSelectorStyleDefault

>

<SelectedRowStyleDefault CssClass="SelectedRowStyle" ></SelectedRowStyleDefault

>

<RowStyleDefault CssClass = "DefaultRowStyle" ></RowStyleDefault

>

<RowAlternateStyleDefault CssClass="AlternateRowStyle" ></RowAlternateStyleDefault

>

<FooterStyleDefault CssClass="FooterStyle" ></FooterStyleDefault

>

<ClientSideEvents ClickCellButtonHandler="m_gridIdentifiers_ClickCellButtonHandler" InitializeLayoutHandler="m_gridIdentifiers_InitializeLayout"

>

</ClientSideEvents

>

</DisplayLayout

>

<Bands

>

<igtbl:UltraGridBand

>

<Columns

>

<igtbl:UltraGridColumn HeaderText="Identifier" Key="Identifier" IsBound="True" Width="145px" BaseColumnName="identifier" AllowResize="Free

">

<Header Caption="Identifier"

>

</Header

>

</igtbl:UltraGridColumn

>

<igtbl:UltraGridColumn Type="DropDownList" HeaderText="Production Status" Key="LiveStatusTypeName" IsBound="True" Width="145px" BaseColumnName="LiveStatusTypeName" AllowUpdate="Yes" AllowResize="Free

">

<Header Caption="Production Status"

>

<RowLayoutColumnInfo OriginX="1"

/>

</Header

>

<Footer

>

<RowLayoutColumnInfo OriginX="1"

/>

</Footer

>

</igtbl:UltraGridColumn

>

<igtbl:UltraGridColumn Type="Button" CellButtonDisplay="Always" AllowUpdate = "Yes" Width="110px" AllowResize="Fixed" HeaderText=""

>

<Header Caption

="">

<RowLayoutColumnInfo OriginX="2" ></RowLayoutColumnInfo

>

</Header

>

<Footer

>

<RowLayoutColumnInfo OriginX="2"

/>

</Footer

>

</igtbl:UltraGridColumn

>

<igtbl:UltraGridColumn HeaderText="RegSourceIdentifierID" Width="1px" Key="RegSourceIdentifierID" Hidden="True" IsBound="True" BaseColumnName

="RegSourceIdentifierID">

<Header Caption="RegSourceIdentifierID"

>

<RowLayoutColumnInfo OriginX="3"></RowLayoutColumnInfo

>

</Header

>

<Footer

>

<RowLayoutColumnInfo OriginX="3"

/>

</Footer

>

</igtbl:UltraGridColumn

>

</Columns

>

</igtbl:UltraGridBand

>

</Bands

>

</igtbl:ultrawebgrid

>

 

Parents
  • 760
    posted

    I have the same issue but have not yet found a solution. I loaded the NetAdvantage 10.2 Service Pack that allows me to use web grids successfully under IE 9. That's when I noticed this begin to occur. When I drop the list down using IE 8, the entire width of the field does not display: only the width of the grid column.

Reply Children