Hello,
I am trying to stop some behavior going on with a table. I have been
using Visual Studio C# 2005.
Basically, the table has certain column widths to start out with. When
data is added to it (and the size of the column is too small), the data
(in this case text) in the column wraps ;-/
How can I keep the data from wrapping? What would be nice is if no
wrapping to place at all and to just be able to adjust the size of
columns manually. You know - where you place the cursor on the boundary
of the column, the cursor changes and then you can lengthen or shorten
the width of the column in order to see more (or less) data.
So, in a nutshell, I would like for the column widths (as well as the
table length and width) to remain the same size as did from the start.
Adjustment of column widths would take place only when using the mouse
;-)
How can I do this?
TIA 9 1052
Im guessing here, but if you think about what the system would need to do in
order to assess the column width Its unlikely that it is going to do it for
you.
In order to assess the column with of any column, one would have to loop
through each cell and get the context, font and size and then measure this
graphically; For each iteration, one would need to adjust the column width
for each lager than previous cell until the end were reached.
If there is no automatic way of doing this then you would have to do this
manually with code.
Other comments ?
Mr N.
"milkyway" <d0******@hotmail.com> wrote in message
news:11**********************@z14g2000cwz.googlegr oups.com... Hello,
I am trying to stop some behavior going on with a table. I have been using Visual Studio C# 2005.
Basically, the table has certain column widths to start out with. When data is added to it (and the size of the column is too small), the data (in this case text) in the column wraps ;-/
How can I keep the data from wrapping? What would be nice is if no wrapping to place at all and to just be able to adjust the size of columns manually. You know - where you place the cursor on the boundary of the column, the cursor changes and then you can lengthen or shorten the width of the column in order to see more (or less) data.
So, in a nutshell, I would like for the column widths (as well as the table length and width) to remain the same size as did from the start. Adjustment of column widths would take place only when using the mouse ;-)
How can I do this?
TIA
Try style rule table-layout:fixed;
Eliyahu
"milkyway" <d0******@hotmail.com> wrote in message
news:11**********************@z14g2000cwz.googlegr oups.com... Hello,
I am trying to stop some behavior going on with a table. I have been using Visual Studio C# 2005.
Basically, the table has certain column widths to start out with. When data is added to it (and the size of the column is too small), the data (in this case text) in the column wraps ;-/
How can I keep the data from wrapping? What would be nice is if no wrapping to place at all and to just be able to adjust the size of columns manually. You know - where you place the cursor on the boundary of the column, the cursor changes and then you can lengthen or shorten the width of the column in order to see more (or less) data.
So, in a nutshell, I would like for the column widths (as well as the table length and width) to remain the same size as did from the start. Adjustment of column widths would take place only when using the mouse ;-)
How can I do this?
TIA
milkyway wrote: Hello,
I am trying to stop some behavior going on with a table. I have been using Visual Studio C# 2005.
Basically, the table has certain column widths to start out with. When data is added to it (and the size of the column is too small), the data (in this case text) in the column wraps ;-/
How can I keep the data from wrapping? What would be nice is if no wrapping to place at all and to just be able to adjust the size of columns manually. You know - where you place the cursor on the boundary of the column, the cursor changes and then you can lengthen or shorten the width of the column in order to see more (or less) data.
So, in a nutshell, I would like for the column widths (as well as the table length and width) to remain the same size as did from the start. Adjustment of column widths would take place only when using the mouse ;-)
How can I do this?
TIA
Watch out for a too-exact layout, one that is "perfect" on your development machine.
A user might use a different browser, have different installed fonts or uses
by default a font with a different size -> gone is your careful layout!
Hans Kesting
set absolute width and overflow style for each td's content, so it can honor
the width. you would need to write client code to resize the table column
widths (adjust the content widths).
<table border=1>
<tr>
<td nowrap><div style="width:40;overflow:hidden">this fits</div></td>
<td nowrap><div style="width:40;overflow:hidden">this xxxxxxxxxxxxxxxxx
doesn't fit</div></td>
</tr>
</table>
-- bruce (sqlwork.com)
"milkyway" <d0******@hotmail.com> wrote in message
news:11**********************@z14g2000cwz.googlegr oups.com... Hello,
I am trying to stop some behavior going on with a table. I have been using Visual Studio C# 2005.
Basically, the table has certain column widths to start out with. When data is added to it (and the size of the column is too small), the data (in this case text) in the column wraps ;-/
How can I keep the data from wrapping? What would be nice is if no wrapping to place at all and to just be able to adjust the size of columns manually. You know - where you place the cursor on the boundary of the column, the cursor changes and then you can lengthen or shorten the width of the column in order to see more (or less) data.
So, in a nutshell, I would like for the column widths (as well as the table length and width) to remain the same size as did from the start. Adjustment of column widths would take place only when using the mouse ;-)
How can I do this?
TIA
Thanks to all for the responses ;-)
Bruce Barker wrote: set absolute width and overflow style for each td's content, so it can honor the width. you would need to write client code to resize the table column widths (adjust the content widths).
How would one approach the writing of clinet code to support the
widths? Is there any sample code available?
"milkyway" <d0******@hotmail.com> wrote in message news:11**********************@z14g2000cwz.googlegr oups.com... Hello,
I am trying to stop some behavior going on with a table. I have been using Visual Studio C# 2005.
Basically, the table has certain column widths to start out with. When data is added to it (and the size of the column is too small), the data (in this case text) in the column wraps ;-/
How can I keep the data from wrapping? What would be nice is if no wrapping to place at all and to just be able to adjust the size of columns manually. You know - where you place the cursor on the boundary of the column, the cursor changes and then you can lengthen or shorten the width of the column in order to see more (or less) data.
So, in a nutshell, I would like for the column widths (as well as the table length and width) to remain the same size as did from the start. Adjustment of column widths would take place only when using the mouse ;-)
How can I do this?
TIA
You could easily ammend this code to suit your table control. http://www.trainingon.net/Articles/TIP0005.htm
HTH
"milkyway" <d0******@hotmail.com> wrote in message
news:11**********************@g43g2000cwa.googlegr oups.com... Thanks to all for the responses ;-)
Bruce Barker wrote: set absolute width and overflow style for each td's content, so it can honor the width. you would need to write client code to resize the table column widths (adjust the content widths). How would one approach the writing of clinet code to support the widths? Is there any sample code available?
"milkyway" <d0******@hotmail.com> wrote in message news:11**********************@z14g2000cwz.googlegr oups.com... > Hello, > > I am trying to stop some behavior going on with a table. I have been > using Visual Studio C# 2005. > > Basically, the table has certain column widths to start out with. When > data is added to it (and the size of the column is too small), the data > (in this case text) in the column wraps ;-/ > > How can I keep the data from wrapping? What would be nice is if no > wrapping to place at all and to just be able to adjust the size of > columns manually. You know - where you place the cursor on the boundary > of the column, the cursor changes and then you can lengthen or shorten > the width of the column in order to see more (or less) data. > > So, in a nutshell, I would like for the column widths (as well as the > table length and width) to remain the same size as did from the start. > Adjustment of column widths would take place only when using the mouse > ;-) > > How can I do this? > > TIA >
Thanks again - will try it out
Thanks again - will try it out
Put <nobr>text here</nobr> around your text.
Best regards,
Dave Colliver. http://www.AshfieldFOCUS.com
~~ http://www.FOCUSPortals.com - Local franchises available
"Mr Newbie" <he**@now.com> wrote in message
news:e1*************@tk2msftngp13.phx.gbl... Im guessing here, but if you think about what the system would need to do in order to assess the column width Its unlikely that it is going to do it for you.
In order to assess the column with of any column, one would have to loop through each cell and get the context, font and size and then measure this graphically; For each iteration, one would need to adjust the column width for each lager than previous cell until the end were reached.
If there is no automatic way of doing this then you would have to do this manually with code.
Other comments ?
Mr N.
"milkyway" <d0******@hotmail.com> wrote in message news:11**********************@z14g2000cwz.googlegr oups.com... Hello,
I am trying to stop some behavior going on with a table. I have been using Visual Studio C# 2005.
Basically, the table has certain column widths to start out with. When data is added to it (and the size of the column is too small), the data (in this case text) in the column wraps ;-/
How can I keep the data from wrapping? What would be nice is if no wrapping to place at all and to just be able to adjust the size of columns manually. You know - where you place the cursor on the boundary of the column, the cursor changes and then you can lengthen or shorten the width of the column in order to see more (or less) data.
So, in a nutshell, I would like for the column widths (as well as the table length and width) to remain the same size as did from the start. Adjustment of column widths would take place only when using the mouse ;-)
How can I do this?
TIA
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Mariusz Jedrzejewski |
last post by:
Hi,
I'll be very grateful if somebody can explain me why my Opera 7.23
(runing under linux) doesn't show me inner tables. Using below code I
can see only "inner table 1". There is no problem with...
|
by: Random Person |
last post by:
Does anyone know how to use VBA to relink tables between two MS Access
databases? We have two databases, one with VBA code and the other with
data tables. The tables are referenced by linked...
|
by: dskillingstad |
last post by:
I've been struggling with this problem for some time and have tried
multiple solutions with no luck.
Let me start with, I'm a novice at Access and I'm not looking for
someones help to design my...
|
by: Jill Elaine |
last post by:
I am building an Access 2002 frontend with linked tables to an
encrypted Paradox 7 database. When I first create these linked tables,
I'm asked for the password to the encrypted Paradox database,...
|
by: Shelby |
last post by:
Problem: My company generates its own data export from a propietary
database. These (free) tables can be read in C#.NET using a Visual FoxPro
driver (vfpoledb). I can read each of the six tables...
|
by: phil-news-nospam |
last post by:
In followups by Brian O'Connor (ironcorona) to other posts, he repeats
the idea that using tables in CSS is not something that should be done
because IE doesn't support it. Of course I'm not happy...
|
by: rdemyan via AccessMonster.com |
last post by:
I have a need to add another field to all of my tables (over 150). Not data,
but an actual field.
Can I code this somehow. So the code presumabley would loop through all the
tables, open each...
|
by: db2admin |
last post by:
Hello,
I want to plan rearranging tables in our database according to
business areas. say all tables in business area A will be in seperate
tablespace or tablespaces. I am planning to monitor...
|
by: bubbles |
last post by:
Using Access 2003 front-end, with SQL Server 2005 backend.
I need to make the front-end application automatically refresh the
linked
SQL Server tables.
New tables will be added dynamically in...
|
by: shriil |
last post by:
Hi
I have this database that calculates and stores the incentive amount
earned by employees of a particular department. Each record is
entered
by entering the Date, Shift (morn, eve, or night)...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| |