Specify row height in table using html?
How do I accurately specify row heights in html for use in rich text emails? The row heights tend to grow in height (approx 20px) when tested in Thunderbird. I want the row heigth to be 1px high. Please see a line of code below:
HTML 4.01 Transitional
<td height="1" bgcolor="#999999"></td>
The old school method was to use clearpixel.gifs as space holders.
See Creating Cross Client HTML E-Mails in Dreamweaver -
http://www.adobe.com/devnet/dreamweaver/articles/html_emails.html
Nancy O.
Similar Messages
-
How to insert row in usercreat table(useing HTML tags)in jtextPane
hi all
i creat userdefined table in JTextPane like this
tableBody.toString() -- iam passeing table tags
htmlKit.insertHTML(htmlDoc, caretPos, tableBody.toString(), 0, 0, HTML.Tag.TABLE);
i want to insert a row in table.. i did like this
htmlKit.insertHTML(htmlDoc, caretPos, sRow.toString(), 0, 0, HTML.Tag.TR); it working..
but it inserting in current location.. i want to insert ending of table...
pls help meHi,
Follow the below logic,
PROCESS BEFORE OUTPUT.
MODULE STATUS_0001.
MODULE POPULATE_TABLE_CONTROL. --> Get the data from table store in
ITAB
LOOP AT GT_CTRL_LP_D516 INTO GS_WA_CTRL_LP_D516
WITH CONTROL CTRL_LP_D516
CURSOR CTRL_LP_D516-CURRENT_LINE.
The following module moves data to control
MODULE MOVE_TO_CONTROL.--> Move data from ITAB to table control
ENDLOOP.
PROCESS AFTER INPUT.
LOOP AT GT_CTRL_LP_D516.
ENDLOOP.
MODULE EXIT AT EXIT-COMMAND.
MODULE USER_COMMAND_0001. --> Here you have to take out the values from table control and update database table
Reward points if helpful.
Thanks and regards,
Mallareddy Rayapureddy,
Munich, Germany. -
How to increase row height in table control?
Hi experts,
We have a push button in table control created using screen painter. Since this is a touch screen transaction, the default height is very small for the worker in the plant to click on a specific row, i would like to know if there is any way to increase the row height in the table control. There is no attribute in Screen painter for increasing row height in table control. I did try "import dynpro", hoping to increase the row height and export the dynpro, but that doesn't seem to have row height attributes. Any help in this regard is highly appreciated. Thanks,
RajUsing a new technology means you have to recreate your screen: you may create an HTML using CL_DD_* classes (that's called "Dynamic Documents"). See [SAP Library - DD programming guide|http://help.sap.com/saphelp_nw2004s/helpdata/en/13/12284b019511d4a73e0000e83dd863/frameset.htm]. Demos are provided in SDYNAMICDOCUMENTS package. Or I think you may create web dynpro and define a CSS style to enlarge objects.
If you don't want to create everything, maybe you can find out a workaround with GuiXT, for example creating a big button in each row (for example, with BUTTONSIZE, but don't know if it changes the height of rows but that's worth trying).
Well, [Synactive documentation about table controls|http://www.synactive.com/docu_e/specials/tables.html] does not seem to allow that.
Maybe you can move your question to the "scripting" forum and ask about how to do it with GuiXT... -
Best practice for deleting multiple rows from a table , using creator
Hi
Thank you for reading my post.
what is best practive for deleting multiple rows from a table using rowSet ?
for example how i can execute something like
delete from table1 where field1= ? and field2 =?
Thank youHi,
Please go through the AppModel application which is available at: http://developers.sun.com/prodtech/javatools/jscreator/reference/codesamples/sampleapps.html
The OnePage Table Based example shows exactly how to use deleting multiple rows from a datatable...
Hope this helps.
Thanks,
RK. -
Updating a row of a table using rowid
Hi folks,
I am trying to update some rows in a table using rowid of the corresponding rows.Sometimes this updates wrong rows. This is because ORACLE by itself makes some statistics on the particular table using "Analyze table..." statement and it changes the order of the rowids. But if I delete the statistics,the updation works fine. Is there any way to update the correct rows and also to keep the statistics created by ORACLE? P.s: I am using ORACLE thin Driver to connect to Oracle 8.1.6
Thanks,
Karthi.First make it clear: analyze table command never changes ROWIDs. Actually, the ROWID of a row never changes untill it's deleted from its table. So make sure if you are using the correct ROWID.
Thnx -
Inserting multiples rows into a table using function or procedure..
How do i insert multiples rows into a table using function or procedure?
Please provide me query..Use FORALL bulk insert statement...
eg:
procedure generate_test_data as
type cl_itab is table of integer index by pls_integer;
v_cl_itab cl_itab;
type cl_vtab is table of varchar2(25) index by pls_integer;
v_cl_vtab cl_vtab;
type cl_dtab is table of date index by pls_integer;
v_cl_dtab cl_dtab;
begin
for i in 1.. 100 loop
v_cl_itab(i):= dbms_random.value(1,1000);
v_cl_vtab (i):=dbms_random.string('a',20);
v_cl_dtab (i):=to_date(trunc(dbms_random.value(2453737, 2454101)),'j');
end loop;
forall i in v_cl_itab.first .. v_cl_itab.last
execute immediate 'insert into test_order values( :n, :str , :dt ) ' using v_cl_itab(i), v_cl_vtab (i), v_cl_dtab (i);
commit;
end; -
How to fix the row-height in excel using ole2
hi
I want to fix row height in excel using ole2.
i wrote the below code but no effect. please help me.
Arg := ole2.create_arglist;
ole2.add_arg(Arg,1);
rrow := ole2.get_obj_property(WorkSheet,'Rows',Arg);
ole2.destroy_arglist(arg);
ole2.set_property(rrow,'Height',50);
kanishIt's solved
ole2.set_property(rrow,'RowHeight',30);
kanish -
Can we create a new row in a table using a down arrow
Hi,
I am using jdeveloper 11.1.1.6.
For one of my project, I have a requirement where i need to create a new row in table using a down arrow. My client does not want to use mouse clicks. They want to use keyboard as much as possible.(Fast data entry).
Is it possible to create a new row using down arrow. Any pointers will be helpful!
Thanks,
Umeshyou can try this thing
steps
- capture downkey event - may b this help http://www.qualitycodes.com/tip/1/capturing-keys-with-javascript.html
if not google more
-then call from javascript call java method - https://blogs.oracle.com/jdevotnharvest/entry/how-to_call_server_side_java_from_javascript
-then create new row of table VO ..... -
Hello,
I want to set the height of tables rows but I couldn't find the function or the right way to do it.
The table is in Column mode.
The row size mode is set to Use Explicit Size
First I remove all rows and columns and then the following code:
InsertTableColumns (SA_ScatPosPanel, P_MULT_ROT_Z_TABLE, 1, NbX_Points, VAL_USE_MASTER_CELL_TYPE);
ColWidth = PlotAreaWidth / NbX_Points;
SetTableColumnAttribute (SA_ScatPosPanel, P_MULT_ROT_Z_TABLE, -1, ATTR_COLUMN_WIDTH, ColWidth);
InsertTableRows (SA_ScatPosPanel, P_MULT_ROT_Z_TABLE, 1, NbY_Points, VAL_USE_MASTER_CELL_TYPE);
What should I add for setting also the row heights?
Thank you
Solved!
Go to Solution.I finally found the solution.
I did a mistake, by setting Size Mode to Use Explicit Size in the first row in the uir I thought it was the default value for all rows.
I think the documentation is not completely correct because it says that SetTableRowAttribute has no effect on existing cells but for the row height it has. That's the reason why I was looking to find a solution with SetTableCellRangeAttribute () as recommended.
I also tried with SetTableRowAttribute but because Size Mode was not correct it didn't work.
With this code it works:
for (i=1; i<=NbY_Points; i++)
InsertTableRows (SA_ScatPosPanel, P_MULT_ROT_Z_TABLE, i, 1, VAL_USE_MASTER_CELL_TYPE);
SetTableRowAttribute (SA_ScatPosPanel, P_MULT_ROT_Z_TABLE, i, ATTR_SIZE_MODE, VAL_USE_EXPLICIT_SIZE);
SetTableRowAttribute (SA_ScatPosPanel, P_MULT_ROT_Z_TABLE, i, ATTR_ROW_HEIGHT, RowHeight); -
Specify row height in cell style
Sometimes you have rows in a table that need to be a certain height. It would be great to be able to specify the height in a cell style.
Along the same line : add aid:crowheight attribute for tables in XMLAre you looking for the size like this (it appears when you have a row selected within the table):
-
Deleting a row from a table using jsp
Given a table in a jsp, can an user click on a row of that table and retrieve the information so that the program can delete a record from a database table?
most of the tables that I have seen are static, the user cannot interact with them(specially when the user wants to delete several records from a database table).
Can anyone suggests a good book or way of deleting a row from table using jsp.eg use a column in the table that has a radio button or check box,
on submit, get all the rows that are checked, using the row as an index into your db store, get the key and use the key to issue the sql delete command. -
Trapping the selected row in the table using boolean checkbox
Hi,
I am using Jdev 11.1.1.2.0 with ADF 11g.
I have a screen that has a table with an additional column of 'Select boolean checkbox'. I have assigned a valuechangelistener method that helps me know which row has been selected. But the issue is it gets fired for all the rows in the table once I select/de-select a checkbox of 1 single row.
How can I handle this? Yes I can iterate through the table rows and check the values of the checkbox. But that is not I want, I also want to trap the de-select event.
What is the way to achieve this?Timo Hahn wrote:
I don't see a bug in this behavior. This is because each row gets stamped when they render.
The way to do this is to use an attribute (which can be transient) to hold the status of the check box. Exactly this does the link I gave.
TimoHi,
Why I am saying it as a bug is because it is not firing the event for the record where the event has occurred. instead the event is fired for each row which should definitely not what is expected. And because of this we have to add an additional variable.
Now it becomes more complex if I have to handle de-selection as well, b'coz if the valuchangelistener is going to fire for all the records then I need to know which row was previously selected and now de-selected as now the de-selected record will also return a false.
So any better solution, anyone? -
Inserting Multiple Rows into Database Table using JDBC Adapter - Efficiency
I need to insert multiple rows into a database table using the JDBC adapter (receiver).
I understand the traditional way of repeating the statement multiple times, each having its <access> element. However, I am just wondering whether this might be performance-inefficient, as it might insert records one by one.
Is there a way to ensure that the records are inserted into the table as a block, rather than record-by-record?Hi Bhavesh/Kanwaljit,
If we have multiple ACCESS tags then what happens is that the connection to the database is made only once. But the data is inserted row by row.
Why i am saying this?
If we add the following in JDBC Adapter..logSQLStatement = true. Then incase of multiple inserts we can see that there are multiple
<i>Insert into tablename(EMP_NAME,EMP_ID) VALUES('J','1000')
Insert into tablename(EMP_NAME,EMP_ID) VALUES('J','2000')</i>
Doesnt this mean that rows are inserted one by one?
Correct me if i am wrong.
This does not mean that the transaction is not guaranted. Either all the rows will be inserted or rolled back.
Regards,
Sumit -
I am unabel to select all rows in advance table using Select All option
Hi all ,
I am unable to select all the rows in advance table . Select All option in advance table selects all rows present in working page but doesnt select the rows which we get by clicking next button ... i am having a requirement to select all the rows with a single click on select all , is it possible ..
Plz help
Thanking you allHi,
I'm using an adf table but i don't want to have the "Select All" and "Select None" options above the table. Does someone know how i have to remove those links?
Or is there indeed a solution to override the methodes of those links?
Message was edited by:
Alexander -
Count rows from multiple tables using SQL only
Hi, I know this has probably been answered before, but I couldn't find the answer anywhere. Please help.
I'd like count(*) [rows] for all tables in database using SQL only - no PL/SQL
The result should be something like:
Table RowCount
DBA_TABLES 1000
DBA_USERS 50
etc.
Thanks!offcource write this script:
create or replace procedure count_tables (ip_schema VARCHAR2)
is
lv_owner VARCHAR2(100);
lv_table_name VARCHAR2(100);
lv_sql_statement VARCHAR2(2000);
lv_count_table NUMBER;
CURSOR c1 IS
SELECT owner, table_name
FROM all_tables
WHERE owner = ip_schema
ORDER BY table_name;
begin
dbms_output.put_line ('+--------------------------------------------------------------------+');
dbms_output.put_line ('¦ | | ¦');
dbms_output.put_line ('¦ Schema Name | Table Name | Number of Rows ¦');
dbms_output.put_line ('¦ | | ¦');
dbms_output.put_line ('¦------------------------------------------------------------------¦');
OPEN c1;
LOOP
FETCH c1 INTO lv_owner , lv_table_name;
EXIT WHEN c1%NOTFOUND;
lv_sql_statement := 'SELECT count(*) FROM ' || lv_owner || '.' || lv_table_name;
EXECUTE IMMEDIATE lv_sql_statement INTO lv_count_table;
IF lv_count_table > 0 THEN
dbms_output.put_line ('| '||rpad(lv_owner, 14, ' ')||'| '|| rpad(lv_table_name, 32, ' ')||'| '|| rpad(lv_count_table, 16, ' ')||' |');
-- dbms_output.put_line ('|---------------|---------------------------------|------------------|');
END IF;
END LOOP;
CLOSE c1;
dbms_output.put_line ('+--------------------------------------------------------------------+');
exception
WHEN OTHERS THEN
dbms_output.put_line ('owner: '||lv_owner||' - table: '||lv_table_name||' - '||sqlerrm);
end count_tables;
set serveroutput on size 1000000
exec count_tables
drop procedure count_tables;
Maybe you are looking for
-
Question about VPN on RV082 i connect like diagram when i use shrewsoft for vpn ipsec i can not connect across rv082 to next hop on wan 1 but when i use PPTP on windows 7 for vpn PPTP i can connect across rv082 but high latency on this connection ple
-
both devices are on the latest version of IOS7. Previously I've had no problems. Help please.
-
Hi, My son foolishly pressed a single digit till it just filled the text box of the passcode. Now i dont know how many times he has pressed it. If I can know the charcter length, or how many digits can just fill the text box of passcode, I can unlock
-
hi abap experts 1. how we will upload data into R/3 system for the transaction va01 with the help of table control? in this sceniaro how we will be the flat file structure? if u have any source code please send it? 2. please send me the flat file s
-
I downloaded new software, per message that appeared on phone this [2-25-14) morning. Crashed at the "agree to privacy policy" stage. What can I do?