Big cells in table
I need to use a table that has rows that are longer than the page, but they just disappear when I get to the bottom of the page. How can I get the text to wrap to the next page but stay in the same cell? The text has a lot of formatting, so I don't think I can do it in Numbers. Does anyone know how to do this? Thanks!
Hello
If the problem is to have tables crossing pages boundaries, the soluce already exists, it is named Numbers.
In this program tables (not cells) may cross pages boundaries, as well in width as is height.
To describe the Pages behavior, imagine that every page of a document is a sheet of paper.
Sheet 2 is above sheet1
Sheet 3 is above sheet 2
When you put a table on sheet 1, if you drag it thru the bottom, it slides upon sheet 1 but under sheet 2 so we can't see it until it is entirely under the sheet 2. Then it moves above the sheet 2 and it is visible.
As far as I know, the only workaround available in Pages is to duplicate the table.
On the screenshot, we may see the border of the upper table, the lower part is hidden by page2.
On page2 is a second copy of the table whose upper part is hidden under page 1.
All in all, we see the entire table.
It works but it is boring.
In Numbers, it's really simple:
_You may see that I made a mistake in my first wording, I wrote that cells may cross Numbers pages boundaries which is perfectly wrong_.
Yvan KOENIG (from FRANCE jeudi 15 mai 2008 15:38:12)
Similar Messages
-
Is there a recommended limit on the number of custom sections and the cells per table so that there are no performance issues with the UI?
Thanks Kelly,
The answers would be the following:
1200 cells per custom section (NEW COUNT), and up to 30 custom sections per spec.
Assuming all will be populated, and this would apply to all final material specs in the system which could be ~25% of all material specs.
The cells will be numeric, free text, drop downs, and some calculated numeric.
Are we reaching the limits for UI performance?
Thanks -
How to get selected/focused cell from table, and action on clicked
Hello Web Dynpro Community!
i have a view with a table, (id "Table_0");
table is 3x3 size, as celleditors i used inputfields; (standard binding to context with string atributes)
below table i have textarea.
when i select any cell in table i want to add that cell coords to textarea (col and row)
i know that i should use onLeadSelect action, but i dont know exacly how. or to be precise.. how to access to ID and row variables in that action.
the other problem is.. that onLeadSelect seems to work only when i change lead not the cell in same row.. so prabobly there is better way to do that..
any ideas?
Looking to hear from You.
EDIT:
Now i have following problem:
i have a table 3x3 with one column as dropdownbykey box and 2 as TableSingleMarkableCell (and inputFields As editors).
it works as i wanted:
so when i click on one of those input cells, insert vale AND click enter then the action onEnter( for inputfield) is fired... i can get the coords of that cell..
problem is.. that i want to get the coords before i click enter.. just when i click in cell.
i tried to use onAction event for column.. but it doesnt work for TableSingleMArkableCells (but it works for ddk column correctly).
so there is any way to do that?
ie:
below table i have inputfield (called value).
when i click on cell (and DO NOT press enter) i want to see the cell value in inputfield value.
future (and target need) is that i need to show some additional text for specific Cell. (i have an Object with 2 strings attributes, one i want to show in cell, and one in inputfield when cell is clicked).
M.
Edited by: Michal Rowinski on Jan 16, 2008 9:51 AMYou can use cell variant for your requirement . Go through the below link
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c0310fd2-f40d-2a10-b288-bcbe0810a961
Regards,
Nethaji -
Set back ground color to a particular cell in table view
hi,
iam working on a jspDynpage and have a htmlb table view for which i need a way to set back ground color to a particular cell in table view, the color has to be set based on a value..is there a way to do it without using an iterator...well iam using a cellRenderer for the table but cant find a way to set the colors...if anyone does have a way please do reply...regardsYou can mention the color in <b>textview</b> as well as <b>Label as follows:</b>
<htmlb:textView text = "<span style='background-color: #00FF00'>My Textview</span>"
design = "EMPHASIZED" />
<htmlb:label for = "MyLabel"
text = "<span style='background-color: #00FF00'>Label </span>"
encode = "false"/>
Reward each helpful answer
Raja T
Message was edited by:
Raja Thangamani -
Unable to merge cells in Table(WAD)
HI Gurus,
I am working on BI7.0,
I am trying to create Web Templates to display reports in portal for that
I have selected Table (rows and coloms), When I try to merge first two cells
(to write descritpion of query) it is not allowing me to merge.
Can anybody suggest me how to merge two cells in table.
Thanks in advance.
Maruthi
Edited by: maruthi k on Dec 15, 2008 2:04 PMIf you're talking simply about merging the cells in an HTML table, then you use the COLSPAN or ROWSPAN options in HTML.
Check out the following
<html>
<body>
<table border="1" cellpadding="2" cellspacing="0">
<tr>
<td>
Heading 1</td>
<td>
Heading 2</td>
<td>
Heading 3</td>
</tr>
<tr>
<td colspan="2">
Text covering 2 cells</td>
<td>
Last cell</td>
</tr>
<tr>
<td rowspan="2">
Text covering 2 cells across 2 rows</td>
<td>
Text in cell 2 row 2</td>
<td>
Text in cell 3 row 2</td>
</tr>
<tr>
<td>
Text in cell 2 row 3</td>
<td>
Text in cell 3 row 3</td>
</tr>
</table>
</body>
</html>
Take the above code and put it in a simple HTML file and run that file in your browser, you should then be able to see how COLSPAN and ROWSPAN work.
COLSPAN=2 means that the cell spans 2 columns. Similary, COLSPAN=3 would then span 3 columns.
Remember though that when you set COLSPAN=2, you will need 1 less TD in that row, otherwise you end up with an extra cell in that row which makes your table look all messy.
Now, in your template, get into the XHTML view, find the table, and set the COLSPAN / ROWSPAN accordingly.
Hope this helps.
Cheers,
Andrew -
Number of rows inside a cell in table
Hie all,
I have a requirement in that I have to create the number of rows inside the cell of table. I did it using the subforms as a body page of a row.
but facing problems when you have number of rows such as data truncation and overlapping of rows..
Please help.Hi,
You can also create table inside the cell of the column by following steps:
1.Select the Cell of the Column in table.
2.Go to Table -->Insert-->and choose as per your requirement(You can adjust the row ans column as per your requirement).
3. Go to Pallette-->Border and hide the border if not required.
This is will not create problem of overlapping or truncation.
Regards,
Shweta -
How to colour cells in table ui element
hi,
i have to colour the cells in table ui element with diiferent colour according to the condition...
kindly suggest the same . any help will be appreciated.
thanks and regards,
sahai.sHi Sahai,
Please check below sample code..
DATA lo_nd_segment1 TYPE REF TO if_wd_context_node.
DATA lo_el_segment1 TYPE REF TO if_wd_context_element.
DATA ls_segment1 TYPE wd_this->Element_segment1.
data lt_segment1 type wd_this->elements_segment1.
DATA lv_segment TYPE wd_this->Element_segment1-segment.
data lr_column type ref to cl_wd_table_column.
navigate from <CONTEXT> to <SEGMENT1> via lead selection
lo_nd_segment1 = wd_context->get_child_node( name = wd_this->wdctx_segment1 ).
get element via lead selection
lo_el_segment1 = lo_nd_segment1->get_element( ).
lo_el_segment1 = WDEVENT->GET_CONTEXT_ELEMENT( 'CONTEXT_ELEMENT' ).
get all declared attributes
lo_el_segment1->get_static_attributes(
IMPORTING
static_attributes = ls_segment1 ).
DATA : lv_dropdown type string .
data desnval type WDUI_TABLE_CELL_DESIGN.
lv_dropdown = ls_segment1-segment. // this is drop down, based on drop down value i am setting color.
if lv_dropdown = 1.
desnval = cl_wd_table_column=>e_cell_design-badvalue_medium.
endif.
if lv_dropdown = 2.
desnval = cl_wd_table_column=>e_cell_design-criticalvalue_medium.
endif.
if lv_dropdown = 3.
desnval = cl_wd_table_column=>e_cell_design-key_medium.
endif.
if lv_dropdown = 4.
desnval = cl_wd_table_column=>e_cell_design-goodvalue_medium.
endif.
lo_el_segment1->set_Attribute(
name = 'CELL_DESIGN'
VALUE = desnval ).
Cheers,
Kris.
Edited by: kissnas on Apr 9, 2011 6:53 AM -
How can make the cell in table keep unchanged?
In my program, I have set the cell in table as :jTable1.setCellSelectionEnabled(false); so I think it can't be edited, but it does't work, I can still edit it by double clicks on this cell, why ? what will I do ?
thanks!// although this is swing related question.
public class UneditableTableModel extends
javax.swing.table.DefaultTableModel{
public boolean isCellEditable(int row, int col){
return false;
// then pass this class to constructor of JTable.
// i.e. new javax,swing.JTable(new
UneditableTableModel(record, columnNames))thanks ,it works very well !!! -
Changing the background color of the row of the selected cell in table view
How can I change the background color of the table row when user clicks on table cell in table view?
Edited by: a_brar on May 5, 2012 11:12 PMYou could apply the following css style (by defining a custom stylsheet with the following lines and loading it into your app).
The last color sets the background color of the selected row while the table-view has focus (in this case to orange).
.table-view:focused .table-row-cell:filled:focused:selected {
-fx-background-color: -fx-focus-color, -fx-cell-focus-inner-border, orange;
}There are quite a lot of subtleties in the css styling for the tableview (e.g. different colors for the selected row when the control has focus vs when it doesn't or when the user hovers over a selected row in an unfocussed tableview), which you may want to cater for when chaning the background color of the selected row in a table view. There is also alternate styling for when the tableview is in row selection vs cell selection mode. So you may want to look at customizing further based on the css styles in caspian.css in sdk/rt/lib/jfxrt.jar if you can understand the complex css there. -
How to change the color of the Cell in Table ?
Thanks a lot
Here is the code to change the color of the cell in Table.
First you need to write a class extending JTextField and implementing TableCellRenderer interface which has only one method as follows
public class MyCellRenderer extends JTextField implements TableCellRenderer
public Component getTableCellRendererComponent(JTable table, Object value,boolean isSelected, boolean hasFocus,int row, int column)
setForeground(Color.blue);
and wherever you create the table you need to set this renderer as the table cell renderer for your table. code follows...
TableColumnModel tcm = yourtable.getColumnModel();
Enumeration tce =tcm.getColumns();
while (tce.hasMoreElements())
TableColumn tc=(TableColumn)tce.nextElement();
tc.setCellRenderer(new MyCellRenderer());
this will solve your problem. you need to import the required packages.
Srinivas. -
Any way that prompt a pull down menu when click a cell of table?
Hello guys,
Thanks in advance for your reading...
Enter characters for each cell in table is difficult, i want to program to show a pull down menu when click the cell in the table, so i can easy to input the characters by click the item on the popup menu.
Thanks, StevenHere is the example code
Tushar Jambhekar
[email protected]
Jambhekar Automation Solutions
LabVIEW Consultancy, LabVIEW Training
Rent a LabVIEW Developer, My Blog
Attachments:
Drop down.zip 30 KB -
I know this is not the best way of designing a site, but I
usually do my layout in PS, import to image ready, slice it up, add
rollovers, then export html and images to work with in DW.
When doing this, I believe IR creates all the images in
cells, rather than tables.
On some occations, I just create a table and insert my images
into various tables in my html document. In DW MX, I had an option
of using or converting between tables and cells. In DW CS3, my
cells option is faded out. I need to convert a table html doc to
cells. Reason being, Im trying to add some js to a page for some
special effects and the js needs to be the only table in the page
to work correctly.
So, did I miss something in my DW CS3? is the cell feature no
longer an option? Do I need to download an extension to use cells?
Or am I going about this the wrong way. Thanks for any help.
p.s. when scrolling over the cell button that doesnt seem to
work, the screen hint states Draw Layout Cell (layout mode only)
Ive tried in layout mode and standard. still no good.>I know this is not the best way of designing a site, but
I usually do my
>layout
> in PS, import to image ready, slice it up, add
rollovers, then export html
> and
> images to work with in DW.
It's not just 'not the best'. It's actually 'the worst',
since such HTML is
fragile, and will cause your layout to break without warning.
This means
that the code written by a graphics application is monolithic
and
inflexible, being written to EXACTLY duplicate the shape of
the graphic and
its included 'content'. When you change that shape, the page
just breaks -
things spread apart and develop gaps, content wraps in
unexpected way, and
your layout generally just breaks.
> When doing this, I believe IR creates all the images in
cells, rather than
> tables.
A cell is in a table. You cannot have a cell without having
it be part of a
table. And you cannot have something in a table without it
being in a cell.
> On some occations, I just create a table and insert my
images into various
> tables in my html document. In DW MX, I had an option of
using or
> converting
> between tables and cells. In DW CS3, my cells option is
faded out. I need
> to
> convert a table html doc to cells. Reason being, Im
trying to add some js
> to a
> page for some special effects and the js needs to be the
only table in the
> page
> to work correctly.
This is very confused. Are you referring to tables < -
> layers? If using
IR HTML is like a train wreck, converting tables to layers
would be like a
nuclear explosion. That 'feature' was removed from CS4
because it created
such a dreadful mess.
> Reason being, Im trying to add some js to a
> page for some special effects and the js needs to be the
only table in the
> page
> to work correctly.
Sorry - this just makes no sense. Javascript is not a table.
Javascript
code can go anywhere in the page.
> Ive tried in layout mode and standard
Layout mode is functionally equivalent to using IR to write
your HTML. This
'feature' too has been removed from CS4.
I'm sorry to seem like I'm picking on you, but the truth is
that if you want
to use Dreamweaver, you are going to have to learn some HTML
and CSS to
survive. Otherwise, DW will clobber you big time....
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"dellvostro" <[email protected]> wrote in
message
news:[email protected]...
>I know this is not the best way of designing a site, but
I usually do my
>layout
> in PS, import to image ready, slice it up, add
rollovers, then export html
> and
> images to work with in DW.
>
> When doing this, I believe IR creates all the images in
cells, rather than
> tables.
>
> On some occations, I just create a table and insert my
images into various
> tables in my html document. In DW MX, I had an option of
using or
> converting
> between tables and cells. In DW CS3, my cells option is
faded out. I need
> to
> convert a table html doc to cells. Reason being, Im
trying to add some js
> to a
> page for some special effects and the js needs to be the
only table in the
> page
> to work correctly.
>
> So, did I miss something in my DW CS3? is the cell
feature no longer an
> option? Do I need to download an extension to use cells?
Or am I going
> about
> this the wrong way. Thanks for any help.
>
> p.s. when scrolling over the cell button that doesnt
seem to work, the
> screen
> hint states Draw Layout Cell (layout mode only)
> Ive tried in layout mode and standard. still no good.
> -
How to disable single cell in table control.
Hi my requirement is to disable single cell in the table control. Please let me know How to do this.
If possible please provide good module pool examples.
HarishHi,
I´m not quite sure if this is gonna work. You have to make a loop over the screen and then you can change some characteristics of it, which includes the Input option:
LOOP AT SCREEN.
IF screen-group1 = 'ABC'.
screen-input = '0'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
I´ve used this code for selection screens but could help you. Check in SE11 all options for SCREEN. -
Help with merged cells in table
I'm just learning how to use Dreamweaver 8 and tables. I am
trying to use a table with merged cells filled with graphics --
only one graphic per cell. I make my jpg the size of my cell, which
it seems to fill. Then, when I upload it to view in browser, it
looks as though the graphic doesn't take up the entire cell. At one
point, it was working both in Dreamweaver and the browser. Now, in
the browser view, it looks as though there is extra space above the
graphic and below it. Any suggestions on what is going on???It's not the use of tables with your graphics that is
necessarily the
problem, it's HOW you are using the tables with your
graphics. Can we see
the page you have built so we can examine the code?
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"degazon" <[email protected]> wrote in
message
news:gasr2p$10m$[email protected]..
> Thanks! It's now evident that I shouldn't use tables
with the graphics. -
Cell Binding/Table View Iterator
Hi Friends,
I am getting error while editing the particular cell of column table view. when I enter the changes, they are not updating in the cell.I used the following code.
method IF_HTMLB_TABLEVIEW_ITERATOR~GET_COLUMN_DEFINITIONS .
APPEND INITIAL LINE TO p_column_definitions ASSIGNING <def>.
<def>-COLUMNNAME = 'RELDATE'. <def>-EDIT = 'X'.
method IF_HTMLB_TABLEVIEW_ITERATOR~RENDER_ROW_START .
m_row_ref ?= p_row_data_ref.
endmethod.
method
IF_HTMLB_TABLEVIEW_ITERATOR~RENDER_CELL_START .
CASE p_column_key.
WHEN 'RELDATE'.
IF p_edit_mode IS NOT INITIAL.
DATA: Rdate TYPE STRING.
Rdate = m_row_ref->RELDATE.
p_replacement_bee = CL_HTMLB_INPUTFIELD=>FACTORY(
id = p_cell_id
value = Rdate
type = 'DATE'
VALUE = PCELL_BINDING
showHelp = 'TRUE'
encode = 'TRUE').
I am bit confused abt MVC.Please mail me the exact code changes to be done in MVC-Class controller.
Regards
CSM ReddyPls check the code, & mail me back in case of any errors.
method DO_HANDLE_EVENT .
DATA: itabtype type standard table of stdview1.
DATA: tv TYPE REF TO cl_htmlb_tableview.
tv ?= cl_htmlb_manager=>get_data(
request = runtime->server->request
name = 'tableView'
id = 'stdview1' ).
IF tv IS NOT INITIAL.
DATA: tv_data TYPE REF TO cl_htmlb_event_tableview.
tv_data = tv->data.
IF tv_data->prevselectedrowindex IS NOT INITIAL.
FIELD-SYMBOLS: <row> like LINE OF ITABTYPE .
READ TABLE ITABTYPE INDEX tv_data->prevselectedrowindex
ASSIGNING <row>.
DATA value TYPE string.
value = tv_data->get_cell_id( row_index =
tv_data->prevselectedrowindex
column_index = '6' ).
DATA: inputfield TYPE REF TO cl_htmlb_inputfield.
inputfield ?= cl_htmlb_manager=>get_data(
request = request
name = 'DESCRIPTION'
id = value ).
<row>-DESCRIPTION = inputfield->value.
ENDIF.
ENDIF.
Regards
CSM Reddy
Maybe you are looking for
-
Size of resulting file not displayed within Preview
Under Snow Leopard, when you were saving a file from within Preview, you were shown the size of the resultant file, and the effect on this size as you changed the quality. Under OS X 7, Preview, you can still change the quality of the file that you
-
Two desktops version that don't work and can't uninstall - Please help
Hello all, Looks like I have this double whammy. Everything started when I had the brilliant idea of installing version 6.0 of desktop software. It installed fine and recognizes my BB (8330 Curve). I can save my BB content however it will not let me
-
cant download and install CS 5 reactivation . I have the serial number
-
How to clear the music from iPhone?
How to clear the music from iPhone? Im tyring to update my music on my iPhone, although my old music is remaining on the device. I have tried unselecting the sync music and syncing my iPhone, to remove all the songs - didnt work. I have tried uncheck
-
I am running Windows 7 (64) and have a CLJ 2605 DN printer. I can not get the printer to print in color. I have tried via usb and over the network. I tried the HP universal printing PCL 5 driver from the website, with no luck. I also allowed windows