Fix the Column Width in WAD 7.0
Hi Guys,
I have two Queries in a Web Template and when I execute the Web Template in Web, both the Query results are are populated one below the other. The column width for both the Query output from a Web Template when executed in Web needs to be the same.
Any ideas and suggestions will be really appreciated. Thanks again Guys.
Thanks,
Harsha.
The width attribute of af:column element specifies column width.
The setWidth(java.lang.String width) method of oracle.adf.view.faces.component.core.data.CoreColumn
also specifies column width.
Similar Messages
-
Can fix the column width in af:table
I am using af:table, i need to fix the static column width, it can be able to do it?
plz help,.....The width attribute of af:column element specifies column width.
The setWidth(java.lang.String width) method of oracle.adf.view.faces.component.core.data.CoreColumn
also specifies column width. -
How to fix the column width in a table in htmlb tableview control
HI Experts,
I have an issue with my htmlb table view controller. I have created a custom iView with a htmlb table view control and placed it in quick navigation window.
When data in columns exceeds, I am getting horizontal scroll bar and column,table are getting extened. I don't want column size increases when text length increses. Instead when lenght of the text incrases in a column, I want the text displyed in multiple columns.
I have tried for this as below.
<hbj:tableView
id="statTable"
model="bean.stattableModel"
design="ALTERNATING"
headerVisible="false"
footerVisible="false"
fillUpEmptyRows="false"
navigationMode="BYPAGE"
selectionMode="NONE"
headerText="Report List"
visibleFirstRow="1"
visibleRowCount="10"
width="100%">
<%
stattableModel.getColumn("D").setWidth("5px");
stattableModel.getColumn("D").setWrapping(false);//tried true aswell
stattableModel.getColumn("H").setWidth("px");
stattableModel.getColumn("H").setWrapping(false);
%>
No change happen ever after I used the above code.
Any one has the idea, how make it work.
Thanks in Advance,
Chinna.Hi Babu,
Please go through this links.
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/80a7eef2-9a2c-2a10-12bb-abad552f3302
http://www.sapfans.com/forums/viewtopic.php?f=20&t=300326
Kind regards
Prabhakaran.P -
How to fix the column header width in BEx or WAD
hi there!
how to fix the column header width in BEx or WAD. because, depends on the column data, the column size varies. i want to fix the size so that i can maintain the consistency through out the report.
thanks!
Vam.Dear Vam,
you can easily do that with css, search the source code of the executed web template for the td tag which is around your coloumn header, remember the style sheet class name it is ´displayed as class= in the td tag.
Now you can add this code the beginning of your web template:
</style>
This will only work in Web.
Regards
Marcus -
Change the column width on the fly
Dear all,
I have a problem, i have a matrix report, the row is "the project name" and the column is "the items" using within each project, and the problem is the items are variable from time to time the report run for each project, so its exceeds the paper width.
And the question is, is there any way to change the width of the column on the fly, i mean dynamiclly change the column width each time the report is called to make all items fit the paper width.
Thank ui don't think that we can change the layout of the column in reports
The simple solution for that problem is that u have to
fix the horizontal and vertical layout of the text item
better is to post this problem at reports forum
Najeeb -
How to fix the column length and table length?
Hi Experts/Gurus,
I want to fix the column lenght so that if data exceeds it should be in the same colum. But the size of the table should not get changed.. I used the width property of both table and column. But its not working..
Regards,
YugeshHi Yugesh,
For column wrapping you can use the SET_WRAPPING of cl_salv_wd_header and the data.....you have got cell editor for that column right...then using the cell edtior reference you can get the specific cell tyep(like cl_salv_wd_text_view type check this)
this is object reference and you can use the set_wrapping of this class. using this you can get the wrapping functionality for the data also....
DATA: lr_column TYPE REF TO cl_salv_wd_column,
lr_column_header type ref to cl_salv_wd_header,
lr_editor type ref to cl_salv_wd_uie,
lr_textview type ref to cl_salv_wd_uie_text_view.
wd_this->alv_value->if_salv_wd_table_settings~set_fixed_table_layout( ABAP_TRUE ).
lr_column = wd_this->alv_value->if_salv_wd_column_settings~get_column( 'EDITION' ).
lr_column->set_width( '55' ).
lr_column_header = lr_column->get_header( ).
lr_column_header->set_wrapping( abap_true).
lr_editor = lr_column->get_cell_editor( ).
lr_textview ?= lr_editor.
lr_textview->set_wrapping( abap_true ).
Now for the column and it's data the wrapping is set...
Regards,
Lekha.
Edited by: Lekha on Nov 16, 2009 2:12 PM -
New to portal: Setting the column width in portal QBE report
I'm trying to set different widths to different columns in the QBE report. One of the columns in the report contains long descriptive text. With the default column width the reports runs into many pages and user has to scroll a lot. I would like to set the column width for this column so that it does not wrap for every 2/3 words. In the customization tab, I'm setting the width type to "Char" and selecting the number of characters to be displayed in that coulmn. Percent/pixel width type also didn't help. Should I set the Header width also?. I'm not sure where to set this header column width.QBE report just ignores these customization parameters and displays the report in default format. Please let me know if you have any idea/solution to this problem.
Thanks
SuryaHi,
This is a bug and has been fixed 30984.
Thanks,
Sharmila -
How to set the column width of JTable
I want do remember the column width and write it to a file, when the window is started , the column width is read from the file and the table is set as that. I also want the column width is not fixed and can be changed by mouse.But I am always failded.
How to do? would you please help me!
Thanks a lots.To "remember" the column widths, add a mouse listener to the table header. Upon mouseReleased(), get the column widths and save them to your file. When the application starts next time, get the stored widths and set them using:
table.getColumn("XXX").setPreferredWidth(...);
By default, your columns are adjustable, but you can use:
table.getTableHeader().setResizingAllowed(true); -
Fix ALV column width independent of content
Hi All,
I need to fix ALV column width independent of content. If I set the width of column as 10 and when the content is 20 characters long, the column expands to 20. I want the width of column to be fixed irrespective of content. I tried all properties available for ALV column and table but couldn't figure it out. We are on ECC 6.0 ENHP4. Any ideas how to achieve this.
Thanks,
TomI believe that I have done this setting fixed layout to true, and then manually setting the column widths in the code.
lo_model->if_salv_wd_table_settings~set_fixed_table_layout( abap_true )
lt_alv_column_table = lo_alv_model->if_salv_wd_column_settings~get_columns( ).
LOOP AT lt_alv_column_table INTO ls_alv_one_column.
ls_alv_one_column-r_column->set_width( '90' ). -
In Sales Order changing the column width to see all item desciption?
When in the sales order screen .
Expand the column width of say the item description.
How do I save the column width for all the sales documents for the field item description in sales order ?Hi,
The column width of the Document will be defaulted to the same size at which the user has saved the last document.
So, if a user has saved the Sales Order with a big column width for the 'Item Description' then after saving and re-entering into the Sales Order, the user can see the same column width for all the Sales Order's.
I hope the above helps.
Cheers~
Jitin Chawla -
How to extract the column width in ALv report if its executed in background
I am executing an ALV report in background , in front end i am getting data properly, in back end for some columns some of the digits are missing.For example if PO no is of 10 digits it will display only 8 becos column size is like that , how to extract coulmns in back ground.
I have executed in background and checked the spool and for some of the columns width is not sufficient to display comeplete data so please suggest how to extract the columns sizes if executed inj background for an ALVHi Deepthi,
you can try with the above mentioned suggestions ,if its worked its fine ,
If not use Docking container instead of custom container, For ALV in back ground jobs, its suggest to use docking container instead of custom container , below you can find the declaration for docking container and code to use docking and custom container in your program for fore and back ground.
or you can use docking container alone for both operations.
Data : G_DOCK1 TYPE REF TO CL_GUI_DOCKING_CONTAINER,
IF CCON IS INITIAL. (ccon is container name )
*Check whether the program is run in batch or foreground
IF CL_GUI_ALV_GRID=>OFFLINE( ) IS INITIAL.
*Run in foreground
CREATE OBJECT CCON
EXPORTING
CONTAINER_NAME = 'CON1'.
CREATE OBJECT GRID1
EXPORTING
I_PARENT = parent_1.
ELSE.
*Run in background
CREATE OBJECT GRID1
EXPORTING
I_PARENT = G_DOCK1.
ENDIF.
ENDIF.
B&R,
Saravana.S -
Can't figure out how to maximize the space on the page by increasing the column width
Trouble with pages app:
can't figure out how to maximize the space on the page by increasing the column width
I have 3 columns and they have spaces btw them that I cannot close the gap on.Whatever the version, you can click on the gutter figure and edit it.
Click once on the column and a second time on the Gutter measurement.
Peter -
How to optimize the column width in Table Control
Hi all,
When I am displaying fields in Table Control, the columns are displayed in full length, and I am unable to see all the fields at once.
So as in grid , where we optimize the column width using layout, do we had any property for TC to do so.
thanks for your help.
Points would be awarded .
Regards,
Anil .Hi,
In Se51, you can do this one, ust open your table control and resize the TC, there is no direct option to do this for entire TC, you need to do this field by field, and arrage the TC to adjust in a Single screen. In the field parameters, you have the field lenghts, there you can minimize the length of a field
Regards
Sudheer -
How do you change the column widths in a master-detail input form?
I have changed several columns to af:inputText so that the field contents can be modified, but this defaults the column width to a huge size, way past the size of the actual data field itself. Modifying the width attribute is ignored and dragging the column dividers is also ignored.
How do I reduce the widths of these columns?
ThanksHi,
maybe this blog entry "Referencing Maximum Length of an Attribute in an EL Expression" by Steve Muench helps
http://radio.weblogs.com/0118231/2007/06/04.html#a839
Frank -
My computer runs under Windows Vista Home Premium, and Firefox browser 3.6.13. Within the Firefox browser, it shows an AT&T email window (www.sbc.yahoo.com). There are several columns such as subject, date, etc. I was able to adjust such column width before. Now I cannot do it. (Also I can adjust column width if I run in the Internet Explorer. I have another computer running Window 7 professional, same set up with Fire Fox and AT&T email, I am able to adjust the column width so I can show the full subject line.
Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
* Don't make any changes on the Safe mode start window.
See:
* [[Troubleshooting extensions and themes]]
You can also try to set the pref layout.frames.force_resizability to true on the about:config page.
See also http://kb.mozillazine.org/about%3Aconfig
Maybe you are looking for
-
Windows 7 system cannot network print to LaserJet 1320
Recently our office got a new Windows 7, 64-bit laptop, and for the past three days I have been unable to get it to print though the network to our HP LaserJet 1320. I can connet it via the USB cable and print directly to the printer, however, I reci
-
Hello I am using Oracle Developer Suite 10.1.2.0.2 and I want to migrate some forms from Forms 6i to Forms10g. I edited the search_replace.properties file in order to change the TEXT_IO calls to CLIENT_TEXT_IO, however after i ran the forms migration
-
When iCloud goes to back up on my iPad, I get an error "the last backup could not be close
iPad won't backup to iCloud - error message says "The last backup Could not be completed" - Have tried several times.
-
How to:? Airport basestation Connect AE as wireless client to ethernet
hello, I've been trying to connect a AE as a client to my wireless network of my Graphite basestation. Noting seem to be working. InternetCableModem> ethernet > Graphite Airport > AE > Ethernet ? Anyone ot this working?
-
Safari user session quits login session
Serious issue.....I am co-managing an online educational web service - www.intermatte.se. When logging in to the site access is allowed, but when a user presses any menu button on the site he/she is logged out and returned to the login page. It seems