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
590
UltraWebGrid column click disable
posted

Hi,

we are using UltraWebGrid while displaying,but click the column expanding complete style streching, find the code below please let me know the solution

greatly appreciated.

Sample code :

 

<igtbl:UltraWebGrid ID="grdSiteFunc" DisplayLayout-AutoGenerateColumns="false" runat="server"

Width="95%" EnableTheming="True" EnableViewState="True" Visible="True">

<Bands>

<igtbl:UltraGridBand

>

<AddNewRow View="NotSet" Visible

="NotSet">

AddNewRow

>

<Columns

>

<igtbl:UltraGridColumn AllowUpdate="No" Hidden="true" Key="ModFunctionID"

>

igtbl:UltraGridColumn

>

<igtbl:UltraGridColumn AllowUpdate="No" Key="ModFunctionName" Width

="300px">

<HeaderStyle HorizontalAlign="Left"

/>

<CellStyle HorizontalAlign

="Left">

CellStyle

>

<Header Caption

="Function">

<RowLayoutColumnInfo OriginX="1"

/>

Header

>

<Footer

>

<RowLayoutColumnInfo OriginX="1"

/>

Footer

>

igtbl:UltraGridColumn

>

<igtbl:UltraGridColumn AllowUpdate="Yes" DataType="System.String" Key

="ModFunctionAlias"

Width

="250px">

<CellStyle HorizontalAlign="left" Wrap

="True">

CellStyle

>

<Header Caption

="Alias">

<RowLayoutColumnInfo OriginX="2"

/>

Header

>

igtbl:UltraGridColumn

>

<igtbl:UltraGridColumn AllowUpdate="Yes" DataType="System.Boolean" Key="Site" Type

="CheckBox"

Width

="80px">

<CellStyle HorizontalAlign

="Center">

CellStyle

>

<Header Caption

="">

Header

>

igtbl:UltraGridColumn

>

Columns

>

igtbl:UltraGridBand

>

Bands

>

<DisplayLayout BorderCollapseDefault="Separate" Name="grdSiteFunc" ScrollBarView

="Both"

ScrollBar="Auto" RowHeightDefault="15px" SelectTypeRowDefault="Single" TableLayout

="Fixed"

RowSelectorsDefault="No" CellClickActionDefault="RowSelect" SelectTypeCellDefault

="Single"

Version="3.00" AutoGenerateColumns="False" StationaryMargins="Header" AllowSortingDefault

="OnClient"

HeaderClickActionDefault

="NotSet">

<RowStyleDefault BackColor="Transparent" BorderColor="LightGray" CssClass

="gridViewTblColumns"

BorderStyle="Solid" BorderWidth

="1px">

<BorderDetails ColorLeft="Window" ColorTop="Window"

/>

<Padding Left="1px"

/>

RowStyleDefault

>

<HeaderStyleDefault CssClass="gridViewTblHeader" BackColor="#009DD9" BorderStyle

="Solid"

Height="20px" HorizontalAlign="Left" ForeColor="Navy" Font-Bold

="True">

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

/>

HeaderStyleDefault

>

<SelectedRowStyleDefault BackColor

="LightSteelBlue">

SelectedRowStyleDefault

>

<EditCellStyleDefault CssClass="tableElement" HorizontalAlign

="Left">

EditCellStyleDefault

>

<FrameStyle Width="100%" Height

="350px">

FrameStyle

>

<ActivationObject BorderColor="" BorderWidth

="">

ActivationObject

>

<RowAlternateStyleDefault BackColor

="#FFF6CC">

RowAlternateStyleDefault

>

DisplayLayout

>

igtbl:UltraWebGrid

>