How to enlarge checkbox column in table?
THX!
Vikas,
Thx for reply, but my report is in "Sidebar region - pitanje" where it is defined as:
/*Sidebar Region Pitanje*/
.t2SidebarRegionPitanje {width:500px;}
.t2SidebarRegionPitanje .t2RegionHeaderPitanje
.t2SidebarRegionPitanje .t2EndCaps{}
.t2SidebarRegionPitanje .t2ButtonHolder {}
.t2SidebarRegionPitanje .t2RegionBodyPitanje
.t2RegionBodyPitanje {white-space:wrap;font-family:Arial,Helvetica,Geneva,sans-serif;font-size:14px;font-weight:bold;color:#336699;}
.t2RegionHeaderPitanje {white-space:wrap;font-family:Arial,Helvetica,Geneva,sans-serif;font-size:18px;font-weight:bold;color:#000080;padding:4px;}So i do not have in my generated source t2data (my theme is 2) so this is not applicable on me.
My source HTML looks like:
< table class="standardLook" summary="" >< tr >< td >< ~td >< ~tr >
< tr >< th id="CORRECT" >< ~th >
< th id="ANSWER_TEXT" >< ~th >
< ~tr >
< tr >< td align="CENTER" headers="CORRECT" >< input type="checkbox" name="f02" value="0" ~ >< ~td >
< td headers="ANSWER_TEXT" >< span class="t2RegionBodyPitanje" >obvezno zaustavljanje nakon 100 m< span >< td >What style should I put in-I know this is teddious work but I'm really stucked in HTML and Appex colaboration...
THX in front!
Similar Messages
-
Reg:How to delete the column in table control also from database table.
Hi Experts,
Once again thank u all for giving the responses.
one more doubt is how to delete the columns of table control and also the record shold delete from ztable.
With Regards,
Saroja.P.Hi,
If you want to delete the rows in the table control and simultaneously delete it from the database table, then you can implement a 'DELETE' functionality specific to your table control. Have a MARK field (you will find that in the screen attributes of the table control -> give a name for the MARK field, you will find an additional MARK column at the beginning of your table control). You can check whatever rows you want to delete from the table control, call the delete module.
"This portion of code inside the LOOP...ENDLOOP.
IF sy-ucomm eq 'F_DELETE'.
gt_itab2-check = mark. " Store the MARK field status into your internal table's correspoding field 'check'
MODIFY gt_itab INDEX tabcontrol-current_line.
ENDIF.
iF sy-ucomm eq 'DELETE1'.
DELETE gt_itab WHERE check eq 'X'. "Your internal table does not have rows that you want to delete
ENDIF.
Now you can modify your database table using the MODIFY statement.
MODIFY ZDB FROM TABLE gt_itab. -
How to add a column in table control
Hi ,
Can any one tell me how to add a column in table control? My requirement is to add two columns ( custom fields ) into table control ( It is a standard program). I have added the column in the table and also in the table control. But when I am running the standard program, The newly added column is not there. But I have added in the perticular screen. Change is not reflected.
Can anyone help me on this please.
Thanks in advance.
Regards,
Lakshmi.Hi,
Ensure the following :
1. After adjusting the database, you`ll have to use the database utility and activate the table.
2. If you have changed the standard screen, in tcode se80 -- right click on the program and click activate all. This activates all objects related to that program.
Now execute the program.
Reward if helpful.
Regards -
How to find the columns and tables used in a stored procedure?
Hi,
Can someone suggest how to find the columns and tables used within a stored procedure?
Thanks
VBKFor example:
SQL> create or replace
2 procedure p1
3 is
4 cnt number;
5 begin
6 select count(*) into cnt from emp;
7 end;
8 /
Procedure created.
SQL> select referenced_owner,
2 referenced_name
3 from dba_dependencies
4 where owner = 'SCOTT'
5 and name = 'P1'
6 and referenced_type = 'TABLE'
7 /
REFERENCED_OWNER REFERENCED_NAME
SCOTT EMP
SQL> SY. -
How to create checkbox group and table dynamically?
HI All
How to create checkbox group and table dynamically?
Regards
Ravihi
check this links for creating tables dnamically
How to Create a table dynamically?
Re: how to create a table dynamically in webdynpro
and for checkboxgroup
IWDTransparentContainer rootContainer =
(IWDTransparentContainer)view.getElement("RootUIElementContainer");
IWDCheckBox check = (IWDCheckBox)view.createElement(IWDCheckBox.class,"Check"+k);
//Here "check"+k k represents a unique value every time u create so that u wont get a duplicate instance
check.setChecked(false);
rootContainer.addChild(check);
or Re: adding checkboxes dynamically -
How to make a column in Table popin read only
Hi Everyone
Could anyone let me know how to make a column in table popin read only.
Regardsif you ar eusing an ALV table
try this
DATA: lr_salv_wd_table TYPE REF TO iwci_salv_wd_table,
r_table TYPE REF TO CL_SALV_WD_CONFIG_TABLE.
* get reference to ALV component interface
lr_salv_wd_table = wd_this->wd_cpifc_alvmain( ).
* get ConfigurationModel from ALV Component
wd_this->r_table = lr_salv_wd_table->get_model( ).
* init ColumnSettings
DATA: lr_column_settings TYPE REF TO if_salv_wd_column_settings,
lr_col_header TYPE REF TO cl_salv_wd_column_header.
lr_column_settings ?= wd_this->r_table.
* get table of column settings - each line one column
DATA: lt_columns TYPE salv_wd_t_column_ref.
lt_columns = lr_column_settings->get_columns( ).
* loop over table - in each loop another column can be modified
DATA: ls_column TYPE salv_wd_s_column_ref.
* define visible columns (fields) by naming them,
* exclude others by setting visibility to none
DATA: ls_tooltip TYPE string.
LOOP AT lt_columns INTO ls_column.
" get header of column
lr_col_header = ls_column-r_column->get_header( ).
" do settings here
ENDLOOP.
Or see this document for more tips.
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40794172-b95a-2910-fb98-b86d8a0918b4">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40794172-b95a-2910-fb98-b86d8a0918b4</a>
regards,
Joris -
How to access single column in table?
Hi,everybody!
How to access a single column in table.
I sorted my table with standard TableSorter.
Now I need to get one column from this table to
do something with it's data.How do I get it?
Regards,
MichaelHi Michael,
If you just want to retrieve the data, you could use the following code.
//Get the node which the table is bound to
IWDNode node = wdContext.nodeTable();
//iterate thru the elements
for(int i = 0 ; i<node.size();i++)
IWDNodeElement ne = node.getElementAt(i);
Object value = ne.getAttributeValue("<column name>");
//Here you have the data in the value variable
//and you can manipulate this now
Regards,
Sudeep -
How to hide Actions Column in Table
Hi All,
I have a simple requirement: I am showing a table (items)
- the "Actions" column (Column with Buttons to Edit and Delete a particualr row) must not be show -> no changes to the table are allowed (I need to hide/ disable this column)
How can I hide this column od the table?
I have found out that the field is called thtmlb_oca and that htere is a getter method get-thtmlb_oca. However, the method does not contain coding and I do not know how to HIDE this field/ column...
Please help me here..
Thanks, JohannesHi Johannes,
To remove the column completely,
you need to comment this line in the method GET_TABLE_LINE_SAMPLE of the Table View Context node class.
TYPES: BEGIN OF line,
* thtmlb_oca type crm_thtmlb_one_click_action.
INCLUDE TYPE xxxx.
TYPES: END OF line.
Disabling can be controlled in the method GET_OCA_T_TABLE of the same class by putting code to delete the button.
LOOP AT rt_actions ASSIGNING <fs_actions>.
<fs_actions>-active = abap_false.
ENDLOOP.
Regards,
Masood Imrani S. -
How to update specified column in table?
Hi,there,
I'm green in oracle,I have 2 tables with the same
fields, the same structure, I call it Ta and Tb,here
is their structure:
Ta:
Name Type
================
Col1 Varchar2(10)
Col2 Varchar2(10)
Col3 Varchar2(10)
Tb:
Name Type
========================
Col1 Varchar2(10)
Col2 Varchar2(10)
Col3 Varchar2(10)
Here is their Data:
Ta:
Col1 Col2 Col3
========================
c11 c31
c12 c32
c13 c33
Tb:
Col1 Col2 Col3
========================
c11 c21 c31
c12 c22 c32
c13 c23 c33
so how can I copy the contents of Col2 of Tb into
col2 of Ta using SQL or PL/SQL? I mean I want to
fill col2 of Ta with the data of col2 of Tb,pls
help me,thanks in advance!
NewOraHere is the query
update Ta set Ta.col2 = (select Tb.col2 from Tb where Ta.col1 = Tb.col1 and Ta.col3 = Tb.col3)
if u have the primary key columns is the tables u dont need to incolude all the columns in the where clause, u can use only key columns. -
How to use identity column in table which value always start from one?
Hi all,
Hope doing well,
sir i created one table which has id with number datatype
for which i created sequence and stored procedure so suppose
i inserted two row there it's inserting and id is showing 1, 2
again i truncate that table and again i inserted value there now the id is starting from 3 , 4
so my question is that after truncating table can't it insert from 1 in id column?
thanks,>
sir i created one table which has id with number datatype
for which i created sequence and stored procedure so suppose
i inserted two row there it's inserting and id is showing 1, 2
again i truncate that table and again i inserted value there now the id is starting from 3 , 4
so my question is that after truncating table can't it insert from 1 in id column?
>
Oracle does not have 'identity' columns.
Oracle sequences are NOT gap free.
Oracle sequences are independent objects and not associated with any other table or object.
If you are wanting a gap-free sequnece of numbers, which is not recommended, you will have to create your own functionality. And that functionality will not be scalable or perform well. -
How to update 2 columns on table A with 2 cols in table B
Hi all,
I am confused when updating more that 1 cols from tableB to tableA.
Single column is easy as this:
update TableA set col1 = (select col1 from TableB where ssno=100)
where ssno=100;
But for 2 column updates, I can not do this:
update TableA set (col1,col2) = (select col1,col2 from TableB where ssno=100)
where ssno=100;
Please help,
Thanks a lot,Hi,
as far as the following subquery:
select col1,col2 from TableB where ssno=100
{code}
is returning only one row your statement:
{code:sql}
update TableA set (col1,col2) = (select col1,col2 from TableB where ssno=100)
where ssno=100;
{code}
is valid.
By the way, you can avoid repeating ssno=100 2 times in this way:
{code:sql}
update TableA A set (col1,col2) = (select col1,col2 from TableB where ssno=A.ssno)
where ssno=100;
{code}
Regards.
Al
Regards.
Al -
How to make new column in table changing depending on other columns
hi
i have table and i want to add new column that calculate the deference between two other columns.
i create the column and i could loop in the content of the table but i could not update the entries in the new columns.
regards
SaidHi!
did u try creating a node for the same? create a value node for the table with 3 value attrbutes, one for each column. then in the init method of that view, just create 3 arrays, setting the value in the first two array. then make use of this code for setting the difference in the thrid column
IPrivateUIView.I<valuenode> tab_node = wdContext.node<valuenode>();
for(int i= 0; i<6;i++)
IPrivate<view>.I<valueelement> num_ele = tab_node.create<valueelement>();
num_ele.set<valueattribute1>(num1<i>);
num_ele.set<valueattribute2>(num2<i>);
num_ele.set<diffvalueattribute>(num1<i>-num2<i>);
wdContext.node<valuenode>().addElement(num_ele);
this will surely work .
Do let me know the results. -
How i can rename column in table in another name if the table have adata?
1) add new_column with same datatype to table
2) update table1 set new_col=old_col;
3) drop column old_col; -
How Do I extract columns from Table
Dear Everyone
List the texts listed both required and recommended for ICT218 in Semester 2 2010. The first should have required with some way of distinguishing between and required and recommended. Thanks
Select UnitCode, RequiredText, RecommendedReading, Name
From Book TEACHINGPERIOD, UNITOffering U
Where (UnitCode='ICT218') and (Name='Semester2');
It didn't work because it's not properly ended. I think it needs a join somewhere.
UnitOffering Table
UnitOfID UnitTitle Tea Period UnitCode
Vet006 Intro to Vet 20/01/10 Vet432
MA004 Fundamentals of Maths 20/01/10 MA164
LEA011 Intro to Legal Studies 20/08/10 LEA765
ICT001 Databses 20/08/10 ICT218
Hu002 Intro to History 20/01/10 HI154
Phy003 Intro to Physics 20/02/10 Phy005
LAW154 Intro to Law 20/08/10 Law001
PSY154 Intro to Psychology 20/08/10 PSY001
ICT009 Principles Of Computer Science 20/08/10 ICT104
Bio007 Intro to Biology 20/08/10 BIO457
Met008 Intro to Metalogy 20/08/10 Met432
TeachingPeriod Table
Name Year StartDate Teaching Period
S1 2010 17/02/10 S12010
T1 2010 23/03/10 T12010
S2 2010 08/08/10 S22010
SU1 2010 08/01/10 Su12010
Su2 2010 10/08/10 Su22010
T2 2010 10/08/10 T22010
S1 2011 20/02/11 S12011
S2 2011 20/07/11 S22011
T1 2011 20/03/11 T12011
T2 2011 20/08/11 T22011
SU1 2011 20/02/11 SU12011
SU2 2011 20/08/11 SU22011
Book Table
Isbn Number BookTitle Author Requir Recom
9780321523068 Database Systems Connolly and Begg Yes No 2009 BBN345
8734512367845 Australian History Martin and Malloy Yes No 2005 ABD265
4589565321987 Great minds alike Sheena Smith Yes No 2003 CAR789
7653457609825 Biggest Atoms Kevin Smith Yes No 2004 ADE498
3178765145789 Animal Anatomy Linda Pearce Yes No 2008 EAT543
5234569012345 Great Maths Ken Morgon No Yes 2006 FET987
6124537890124 What Metals Can Do Brian Deed No Yes 2007 GAT621
1543278954326 Weird Biology Shaun Diet No Yes 2002 ABC123
2567458906276 Greatest Technology Fran Day No Yes 2001 ACN456
0125678432167 WorldWide Legal System Claire Dawn No Yes 2000 ANB367
0003456789079 Best Databases Ken Murray No Yes 2002 BBN345
Edited by: user9164240 on 29/10/2010 02:05Desc UnitOffering
"UNITOFFERINGID" "UNITTITLE" "TEACHINGPERIOD" "UNITCODE"
"Vet006" "Intro to Vet" 20/01/10 "Vet432"
"MA004" "Fundamentals of Maths" 20/01/10 "MA164"
"LEA011" "Intro to Legal Studies"20/08/10 "LEA765"
"ICT001" "Databses" 20/08/10 "ICT218"
"Hu002" "Intro to History" 20/01/10 "HI154"
"Phy003" "Intro to Physics" 20/02/10 "Phy005"
"LAW154" "Intro to Law" 20/08/10 "Law001"
"PSY154" "Intro to Psychology" 20/08/10 "PSY001"
"ICT009" "Principles Of Computer Science" 20/08/10 "ICT104"
"Bio007" "Intro to Biology" 20/08/10 "BIO457"
"Met008" "Intro to Metalogy" 20/08/10 "Met432"
Desc BookOrder
"REQUIREDBOOKNO" "BOOKSORDERED" "RECOMMENDEDTEXTNO" "ORDERFILLED" "ORDERNOTFILLED" "UNITOFFERINGID" "ISBNNUMBER" "BOOKTITLE"
"9812345678908745" 100 "763456723467898" "Yes" "No" "ICT001" "9780321523068" "Database Systems"
"8734567890912344" 150 "876543214567890" "Yes" "No" "ICT009" "2567458906276" "Greatest Technology"
"7348761256789127" 120 "675432189098876" "Yes" "No" "Phy003" "7653457609825" "Biggest Atom"
"6543210956734523" 200 "543216897567123" "Yes" "No" "PSY154" "4589565321987" "Greatest Minds Alike"
"5432178902345783" 250 "476541098765487" "Yes" "No" "LEA011" "0125678432167" "WorldWide Legal System"
"4321987653456980 300 "329876541234598" "No" "Yes" "Hu002" "8734512367845" "Australian History"
"3215678907653467 " 50 "235671456789087" "No" "Yes" "MA004" "9780321523068" "Intro to Maths"
"2219876543234785" 350 "827890654321456" "No" "Yes" "Bio007" "1543278954326" "Weird Biology"
"134509845667896 " 400 "138906543251398" "No" "Yes" "ICT001" "6124537890124" "Greatest Technology"
"087235124598776" 500 "097654321901234" "No" "Yes" "Vet006" "3178765145789" "WorldWide Legal System"
"234567890123345" 1000 "765432189034560" "No" "Yes" "ICT001" "0003456789079" "Best Databases"
Desc Book
"ISBNNUMBER" "BOOKTITLE" "AUTHOR" "REQUIREDTEXT" "RECOMMENDEDREADING" "YEAROFPUBLICATION" "PUBLISHERID"
"9780321523068" "Database Systems" "Connolly and Begg" "Yes" "No" "2009" "BBN345"
"8734512367845" "Australian History" "Martin and Malloy" "Yes" "No" "2005" "ABD265"
"4589565321987" "Great minds alike" "Sheena Smith" "Yes" "No" "2003" "CAR789"
"7653457609825" "Biggest Atoms" "Kevin Smith" "Yes" "No" "2004" "ADE498"
"3178765145789" "Animal Anatomy" "Linda Pearce" "Yes" "No" "2008" "EAT543"
"5234569012345" "Great Maths" "Ken Morgon" "No" "Yes" "2006" "FET987"
"6124537890124" "What Metals Can Do" "Brian Deed" "No " "Yes" "2007" "GAT621"
"1543278954326" "Weird Biology" "Shaun Diet" "No" "Yes" "2002" "ABC123"
"2567458906276" "Greatest Technology" "Fran Day" "No" "Yes" "2001" "ACN456"
"0125678432167" "WorldWide Legal System""Claire Dawn" "No" "Yes" "2000" "ANB367"
"0003456789079" "Best Databases" "Ken Murray" "No" "Yes" "2002" "BBN345"
Desc TeachingPeriod
"NAME" "YEAR" "STARTDATE" "TEACHINGPERIODID"
"S1" "2010" 17/02/10 "S12010"
"T1" "2010" 23/03/10 "T12010"
"S2" "2010" 08/08/10 "S22010"
"SU1" "2010" 08/01/10 "Su12010"
"Su2" "2010" 10/08/10 "Su22010"
"T2" "2010" 10/08/10 "T22010"
"S1" "2011" 20/02/11 "S12011"
"S2" "2011" 20/07/11 "S22011"
"T1" "2011" 20/03/11 "T12011"
"T2" "2011" 20/08/11 "T22011"
"SU1" "2011" 20/02/11 "SU12011"
"SU2" "2011" 20/08/11 "SU22011" -
Disable some columns in table control?
Hi
How to disable some columns in table control.
For Ex: Table contains 8 columns.
In first row i want to disable first 4 columns.
in second row i want to disable last 4 columns.
In third row i want to disable first 2 and last 2 columns. How can we achieve this?
Cheers,
Venkys.HI
Create three attribute in the node which is bound to the table as data source.
say pro1, pro2, and pro3 of type wdy_boolean.
now bind the enabled property of first four column editors to pro1, last 4 to pro2, and pro3 to first 2 and last 2.
then go to the eventhandler of the dropdown 's on select event and write the code to update the values of these attribute
according to the selected value.
here is the sample code.
DATA lo_nd TYPE REF TO if_wd_context_node.
DATA lo_el TYPE REF TO if_wd_context_element.
DATA lv_VAL LIKE ls_dealer1-name.
lo_nd = wd_context->get_child_node( name = 'DEALER1').
lo_el = lo_nd->get_element( ).
lo_el->get_attribute(
EXPORTING
name = `NAME`
IMPORTING
value = lv_VAL ).
DATA PR1 TYPE WDY_BOOLEAN.
DATA PR2 TYPE WDY_BOOLEAN.
DATA PR3 TYPE WDY_BOOLEAN.
PR1 = ABAP_TRUE.
PR2 = ABAP_TRUE.
PR3 = ABAP_TRUE.
IF LV_VAL EQ 'A'.
PR1 = ABAP_FALSE.
PR2 = ABAP_TRUE.
PR3 = ABAP_TRUE.
ELSEIF LV_VAL EQ 'B'.
PR1 = ABAP_TRUE.
PR2 = ABAP_FALSE.
PR3 = ABAP_TRUE.
ELSEIF LV_VAL EQ 'C'.
PR1 = ABAP_TRUE.
PR2 = ABAP_TRUE.
PR3 = ABAP_FALSE.
ENDIF.
LO_EL->SET_ATTRIBUTE(
NAME = 'PRO1'
VALUE = PR1
LO_EL->SET_ATTRIBUTE(
NAME = 'PRO2'
VALUE = PR2
LO_EL->SET_ATTRIBUTE(
NAME = 'PRO3'
VALUE = PR3
thanks
sarbjeet singh
Maybe you are looking for
-
PAGES FILE FROM IPAD WONT OPEN ON MAC
after page update when i try to transfer a file back to my mac, then open it I get this error message: The required index.xml file is missing.
-
IPod screen WHITE but still responding...?
I've had my iPod touch for a year (4th generation) and 3 days ago I restored it because it was working slow. Yesterday around 4pm, the screen turned completely white. I know it still responds because when I plug it into the computer, it says there is
-
ALV IDA Column Position Change
Hi Folks, Is it possible to change column position in ALV IDA programmatically if possible then how? Regards, Amol
-
Using BO PC 7.5 NW with Proxy
Hello everybody! Deos somebody know how to use BO PC 7.5 NW with a proxy server? When I try to connect the admin console with the bpc server i can trace a connection request directly to the bpc server and not to the proxy server. I know, in the insta
-
All is in the title.