Problem with Table  
Author Message
01512244d





PostPosted: 2004-8-20 14:05:00 Top

java-programmer, Problem with Table Dear all,


I have a TextField and a TextFieldHandler implement ActionListener and
a Table.

How can I do the following function?

When the user type 111 in the TextField and press enter, item 111
information is retrieved from database and will be displayed in the
table.
When the user type 222 in the TextField and press enter, item 222
information is retrieved from database and will be displayed in the
table.

( I know how to detect the value entered in the TextField, but I donno
how to display the corresponding information with a Table)


Thanks for reply.

Victoria
 
Tor Iver Wilhelmsen





PostPosted: 2004-8-20 16:46:00 Top

java-programmer >> Problem with Table email***@***.com (Victoria) writes:

> ( I know how to detect the value entered in the TextField, but I donno
> how to display the corresponding information with a Table)

You put the data into a TableModel, and tell the associated table to
update itself.
 
RGFuaWVs





PostPosted: 2005-8-13 8:01:00 Top

java-programmer >> Problem with Table Hi,
<asp:TableCell BackColor="#000066" ID="tblcell" Width=?/>

can anyone know to add variable ? for the width ?

i had tried width='"' + ? + "'"
when i switch to Design page, error message appear in the control.

how to add variable in the width?

ur help will be appreciated.

best regards,
GL
 
 
Lucas Tam





PostPosted: 2005-8-13 12:36:00 Top

java-programmer >> Problem with Table =?Utf-8?B?RGFuaWVs?= <email***@***.com> wrote in
news:email***@***.com:

> Hi,
> <asp:TableCell BackColor="#000066" ID="tblcell" Width=?/>
>
> can anyone know to add variable ? for the width ?
>
> i had tried width='"' + ? + "'"
> when i switch to Design page, error message appear in the control.
>
> how to add variable in the width?

I know you can control it in code.

tblCell.width = value here.

--
Lucas Tam (email***@***.com)
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/
 
 
DAL





PostPosted: 2006-3-1 3:31:00 Top

java-programmer >> Problem with Table I have two tables side by side and have set the height and width properties
of both, hoping the borders would not move when I started typing in one of
the tables. It's not working. When I type in one of the tables, the other
table gets smaller. How can I get both tables to stay stationary. Thanks in
advance, DAL.


 
 
Bruce Barker





PostPosted: 2006-3-1 5:09:00 Top

java-programmer >> Problem with Table put them in a table

<table style="height:150;">
<tr>
<td>
<table style="height:100%;border:1px solid black;" >
<tr><td>table 1</td></tr>
</table>
</td>
<td>
<table style="height:100%;border:1px solid black;">
<tr><td>table 2</td></tr>
<tr><td>table 2</td></tr>
<tr><td>table 2</td></tr>
</table>
</td>
</table>

the tables will be the same height.

note: you must specify an absolute height in the container table, as there
is default page height in html like there is a width. this means you could
specify 100% for the width and its the screen width will be used, but
specifying 100% for height will be ignore by any complaint browser (IE in
tweak mode will support 100% if the markup is not too complex.)

-- bruce (sqlwork.com)






"DAL" <email***@***.com> wrote in message
news:email***@***.com...
>I have two tables side by side and have set the height and width properties
>of both, hoping the borders would not move when I started typing in one of
>the tables. It's not working. When I type in one of the tables, the other
>table gets smaller. How can I get both tables to stay stationary. Thanks in
>advance, DAL.
>