Welcome Guest Search | Active Topics | Sign In | Register

Problem with Grid Options
sgosselin
Posted: Friday, July 25, 2008 6:28:25 AM
Rank: Member
Groups: Member

Joined: 6/13/2008
Posts: 11
Here's the declarative code:
Code: HTML/ASPX
<eo:Grid ID="typeGrid" runat="server" GridLines="Both" GridLineColor="#003300" Font-Names="Verdana"
                Font-Size="8.75pt" FullRowMode="False" Font-Bold="False" Font-Italic="False"
                BorderColor="#003300" BorderStyle="Solid" BorderWidth="1px" Font-Overline="False"
                Font-Strikeout="False" Font-Underline="False" Width="400" Height="300" AllowNewItem="True"
                OnItemAdded="typeGrid_ItemAdded" OnItemChanged="typeGrid_ItemChanged" OnItemDeleted="typeGrid_ItemDeleted">
                <ColumnHeaderStyle CssClass="gridHeader"></ColumnHeaderStyle>
                <Columns>
                    <eo:TextBoxColumn HeaderText="Description" DataField="Description" AllowResize="false">
                        <CellStyle CssText="text-align: right; padding-top: 2px; padding-right: 2px;" />
                        <TextBoxStyle CssText="text-align: right; padding-right: 2px;" />
                    </eo:TextBoxColumn>
                </Columns>
            </eo:Grid>


Here's the result:

eo_support
Posted: Friday, July 25, 2008 7:04:53 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,221
Hi,

You will want to upload the image to somewhere else and provide a link to it.

Thanks
sgosselin
Posted: Friday, July 25, 2008 7:14:12 AM
Rank: Member
Groups: Member

Joined: 6/13/2008
Posts: 11
Ok! In fact my problem is that the column are not align with the header. When I click on a cell to edit, the edit textbox appear under the table, but the static cell apears at the right of the table like one time the width of the cell far form the table.


|____Header_____|
---------------------------
White space here |______Cell_________| (in static mode)

|Cell in edit mode_|_______Cell_________|

Do you know why?
eo_support
Posted: Friday, July 25, 2008 7:18:02 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,221
Hi,

Try to remove all style sheets from your page just as a test. This is often caused by interference from styles in your .css files.

Thanks


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.