Welcome Guest Search | Active Topics | Sign In | Register

web.grid Edit text box within the textboxcolumn Options
Mike
Posted: Wednesday, March 9, 2016 11:30:27 AM
Rank: Newbie
Groups: Member

Joined: 2/25/2016
Posts: 3
web.grid
I have several textboxcolumn columns in my grid that are sized to be four text lines in height. The text entry box available when I click in the field for editing is only a single text line in height and only the length of the cell that it is in. Is there a way to control the size of the text entry field to be larger, or at least the cell size for text entry?

Mike
Mike
Posted: Friday, March 11, 2016 7:36:20 AM
Rank: Newbie
Groups: Member

Joined: 2/25/2016
Posts: 3
Used the textbox mode, width, and rows options when creating the textboxcolumn.
eo_support
Posted: Friday, March 11, 2016 8:54:55 PM
Rank: Administration
Groups: Administration

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

You can declare your column this way:

Code: HTML/ASPX
<Grid ...>
    <Columns>
        ....
        <eo:TextBoxColumn Width="200" TextBoxMode="MultiLine" TextBoxRows="3">
            <TextBoxStyle CssText="height:30px;"></TextBoxStyle>
        </eo:TextBoxColumn>
        ....
    </Columns>
</Grid>

Note the TextBoxMode, TextBoxRows and the height attribute on TextBoxStyle.

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.