How to control column width in manual posting ?
Hi gurus,
I have some manual posting tasks with associated document types. In some of them when you get into the screen to record the manual data, the columns titles are so wide that the rigthmost columns get out of the screen and one needs to scroll horizontally.
Is there some way in wich I can fix columns width? I think if I narrow manually the columns and then fix this layout?
Thank you.
Hi,
I beleive you work in the language other than English. I encounter this very annoying system's behaviour while working in Russian.
I know that some notes are dedicated to solving of this or that problem in particular language.
The easiest way to make some "stubborn" settings is to do it in English and the return to your locale.
Edited by: Eugene Khusainov on Jun 26, 2008 10:36 PM
Similar Messages
-
How to controll column width in report ?
Dear All,
i have created Classic Report but here Column width is too large.
i want to controll column width in report .
How can i do this..
ThanksHi Vedant,
There are two possibilities in your case.
1.width of your column heading is too large.
include break in your column heading
for ex .. column heading is employee department number then write it as *[Employee(br)Department(br)Number]* // replace ( with < and ) with > in br
2) Value is too large
Go to Report Attributes->edit your column->column formatting->css style
In CSS style put this display:block;width:100px;white-space:wrap
Hope this will helps you,
Thanks,
Jitendra -
How to control column width in table?
I have a table with four columns, and they are all with same width.
But I want to make one of them wider.
How should I do?
public void loadTable(){
Vector infoList = myObj.getInfoList();
Info info;
DefaultTableModel dtm = (DefaultTableModel)myPanel.tblList.getModel();
String[] columnNames = {
"wider column",
"Column B",
"Column C",
"Column D"};
dtm.setColumnIdentifiers(columnNames);
for(int i=0;i< infoList.size();i++){
// add stuff to "data"
dtm.addRow(data);
myPanel.tblList.setModel(dtm);
myPanel.tblList.getColumnModel().getColumn(1).setWidth(100);
I also tried setPreferedWidth(), not working for me either.
What should I do?
Thank youTry setting all the column widths. Define values for normal and width columns:
DefaultTableColumnModel tcModel = (DefaultTableColumnModel) myTable.getColumnModel();
Enumeration columnEnum = tcModel.getColumns();
while (columnEnum.hasMoreElements()) {
TableColumn column = (TableColumn) columnEnum.nextElement();
if (column.getModelIndex() != 1) {
column.setPreferredWidth(narrowWidth);
} else {
column.setPreferredWidth(wideWidth);
Cheers
DB -
How to set column width in alvgrid
hi
how to set column width in alvgrid.
thanks.Hi,
Check this,
REPORT ztest.
DATA: BEGIN OF i_scarr_tab OCCURS 0.
INCLUDE STRUCTURE scarr.
DATA: END OF i_scarr_tab.
DATA: i_scarr LIKE TABLE OF i_scarr_tab WITH HEADER LINE,
w_scarr LIKE LINE OF i_scarr_tab.
DATA: o_grid TYPE REF TO cl_gui_alv_grid,
o_container TYPE REF TO cl_gui_custom_container.
DATA: lt_fcat TYPE lvc_t_fcat,
ls_layo TYPE lvc_s_layo,
ls_sort TYPE lvc_s_sort,
lt_sort TYPE lvc_t_sort,
ls_fieldcat TYPE slis_t_fieldcat_alv WITH HEADER LINE.
START-OF-SELECTION.
CALL SCREEN 9000.
*& Module status_9000 OUTPUT
text
MODULE status_9000 OUTPUT.
SET PF-STATUS '9000'.
SET TITLEBAR '9000'.
ENDMODULE. " status_9000 OUTPUT
*& Module user_command_9000 INPUT
text
MODULE user_command_9000 INPUT.
CASE sy-ucomm .
WHEN 'BACK' OR 'EXIT'.
SET SCREEN 0.
LEAVE SCREEN.
ENDCASE.
ENDMODULE. " user_command_9000 INPUT
*& Module init_9000 OUTPUT
text
MODULE init_9000 OUTPUT.
IF o_container IS INITIAL.
SELECT * FROM scarr INTO CORRESPONDING FIELDS OF TABLE
i_scarr UP TO 100 ROWS.
IF cl_gui_alv_grid=>offline( ) IS INITIAL.
Create a custom container control for ALV Control
CREATE OBJECT o_container
EXPORTING
container_name = 'CONTROL'.
Create a ALV Control
CREATE OBJECT o_grid
EXPORTING i_parent = o_container.
PERFORM build_field_catalgue.
ls_layo-sel_mode = 'A'.
CALL METHOD o_grid->set_table_for_first_display
EXPORTING
i_save = 'A'
i_default = 'X'
is_layout = ls_layo
CHANGING
it_outtab = i_scarr[]
it_fieldcatalog = lt_fcat
it_sort = lt_sort[].
ENDIF.
ENDIF.
ENDMODULE. " init_9000 OUTPUT
*& Form build_field_catalgue
text
--> p1 text
<-- p2 text
FORM build_field_catalgue .
DATA: ls_fcat TYPE lvc_s_fcat.
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
i_program_name = sy-cprog
i_internal_tabname = 'I_SCARR_TAB'
i_structure_name = 'SCARR'
i_client_never_display = 'X'
CHANGING
ct_fieldcat = ls_fieldcat[]
EXCEPTIONS
inconsistent_interface = 1
program_error = 2
OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE 'FCAT Error' TYPE 'I'.
EXIT.
ENDIF.
LOOP AT ls_fieldcat.
CLEAR ls_fcat.
ls_fcat-fieldname = ls_fieldcat-fieldname. "Fieldname
ls_fcat-ref_table = ls_fieldcat-tabname. "DDIC ref struct
ls_fcat-inttype = ls_fieldcat-inttype. "Data type
ls_fcat-outputlen = ls_fieldcat-outputlen. "Column width
ls_fcat-coltext = ls_fieldcat-seltext_m. "Column Header
ls_fcat-seltext = ls_fieldcat-seltext_m. "Column Desc
ls_fcat-ref_field = ls_fieldcat-ref_fieldname. "Reference field
ls_fcat-ref_table = ls_fieldcat-ref_tabname. "Reference table
CASE ls_fieldcat-fieldname.
WHEN 'LUGGWEIGHT' OR 'FORCURAM'.
ls_fcat-edit = 'X'.
ls_fcat-do_sum = 'X'.
WHEN 'URL'.
ls_fcat-no_out = 'X'.
WHEN OTHERS.
ls_fcat-edit = ' '.
ls_fcat-do_sum = ' '.
ENDCASE.
APPEND ls_fcat TO lt_fcat.
ENDLOOP.
ENDFORM. " build_field_catalgue
check the programs bcalv_grid*.
check this link for more detailed example.
http://www.supinfo-projects.com/fr/2005/alv_display_fr/2/
Regards
Sruthi -
How to save column widths in tag monitor and tag config editor?
how to save column widths in tag monitor and tag config editor?
The attached example may help.
After launching the editor, I locate a reference to the front panel control named "Tag List".
This is type cast as a multicolumn list box which then allows me to increment through all of the cells and set the widths as i go.
Trying to help,
Ben
Ben Rayner
I am currently active on.. MainStream Preppers
Rayner's Ridge is under construction
Attachments:
Set_Width2.vi 60 KB
SET_WIDTH.JPG 94 KB -
How to Control the width of the Filter row in Table View
Hi !
I have a Table View with filter='application'. The filter works fine but I am not able to control the width of the columns of the tableview .
On filtering, if there are not items in the table view the columns shrink to the minum width....and it looks very odd.
Can you help me how to control the width of the Filter-Row in Table Veiw.
Thanks and Best Regards,
BindiyaHi Raja,
"FIXEDCOLUMN" did not help in the width of the column, but it just showed all the rows merged in the column.
I have a cloumn called "COUNTRY" and its width is set to "20". The Filter of the column "COUNTRY" is a dropdownlist whos value is update with new values.
On filtering if there is any row visible then the column width is adjusted to the maxmimum length of the dropdownlist ( this is because of the "EDIT" attribute in column definition ). But if there is no rows visiblel for the selected filter value then the filter row shrinks to the width = "20" and the dropdownlist is not visible completely.
Need to know how to control the width of the FILTER column.
Thanks and Best Regards,
Bindiya -
I've been utilizing the below script (thank you so much Ramkumar. P!) to set column widths throughout a sizable InDesign book with tables on every page and it is truly a time saver. At this point in time, I have three versions of it because there are different column widths throughout the book. Is it possible to augment the script to run only on a selected text frame (containing a table)? If so, would someone be kind enough to share the augmented script with me? I've been trying to figure out this seemingly simple change through trial and error with no success as yet. I realize this is a totally newbie request and I'm entirely at the mercy of the kindness of the Javascript gods that contribute within this forum. Seeing that in a different post related to this script, one such guru responded to a request as simple as "Where do I put the scripts in InDesign" gave me enough courage to ask for some help! Thank you in advance to anyone willing to provide a solution.
var myDoc = app.activeDocument;
var myWidths = [100, 100, 150, 150];
for(var T=0; T < myDoc.textFrames.length; T++){
for(var i=0; i < myDoc.textFrames[T].tables.length; i++){
for(var j=0; j < myWidths.length; j++){
myDoc.textFrames[T].tables[i].columns[j].width = myWidths[j];
alert("Table width updated successfully...");Hello all
I have the same problem in that I'm not a scripting person, but was able to get the above script working without problem, and it does set irregular table column widths perfectly, so thanks to Ramkumar. P for that.
BUT, it changes the column width for ALL tables in the document, whereas I would like to just target the selected table.
Any ideas as to how I might amend this script to achieve this?
Thx, Christian -
Controlling Column Width in Report Region
I have a report region based on a simple select statement. I'd like the table to be the full width of the region and I'd like the columns to be spaced evenly so that they are also the full width of the region. I have figured out how to set the table width via Report Attributes Substitution, but I am unable to set the column width. Any help would be greatly appreciated.
MarkHi take a look into this post:
Translated in English:
http://translate.google.de/translate?sl=de&tl=en&js=n&prev=_t&hl=de&ie=UTF-8&layout=2&eotf=1&u=http%3A%2F%2Fwww.apex-at-work.com%2F2010%2F08%2Fsilbentrennung-hyphenation-in-apex-ger.html
Code must be extracted from Original post:
http://www.apex-at-work.com/2010/08/silbentrennung-hyphenation-in-apex-ger.html
This could be also interesting for your:
http://www.apex-at-work.com/2010/03/automatic-linebreak-if-word-breaks-out.html
Tobias
http://apex-at-work.com -
How to increase column width in Table Maintanance (SE56)
Hi,
Can somebody tell me how I can adjust the column width permanently in SE56, so that when I use SM30 to enter data, the columns
correctly adjusted.
Thanks,
miniGo to SE80 > Select Function Group > Enter your FG... select your Screen..
Open the Screen Painter.. change the width of the required column.
Regards,
Naimesh Patel -
How to set column width in GridPane in FXML?
I would like to set width, for ex, of column 4 in GridPane.
I can do like this:
<columnConstraints>
<ColumnConstraints prefWidth="100"/>
<ColumnConstraints prefWidth="200" />
<ColumnConstraints prefWidth="200" />
<ColumnConstraints prefWidth="200" />
</columnConstraints>If i have 10 columns should i add 10 column constraints? (i need to set only width of 4th column)
How can i do it easier?>
Hi, Can someone please help on how to set the columnwidth in csv file using javacode.
I used FileWriter class to upload data into the csv file but csv file is taking default width while showing content. Is there a way to set the fixed column width or set width dinamically based on value?
>
The fields in CSV (Comma-Separated-Value) files are separated by commas; they do not have a fixed width. -
How to adjust Column width using SHD0 for FB60
Hi,
How can adjust ( i have to reduce the length) Assignment filed in the FB60 transaction using SHD0.
Please help in this regard.
Regards,
KishoreHI,
I think you can adjust the column width and save it as Screen Variant in the SHD0.
When you create a screen variant for the MIRO, adjust your column width and position than save it the variant. Once you save and activate the variant, it will appear in the Layout dropdown box on MIRO.
OR
Please check in spro with ur functional consultant to explore if the field can be made not mandatory..
menu path:
AR and AP -> Customer Accounts -> Line Items -> Display line items -> display line items without ALV -
How to adjust column width Sheet to Go?
Does anybody know how you can increase the column width in Sheet to Go?
Eugene
My PlayBook App: ChecklistsWith the new Playbook 2.0 update and the docs to go app, I found that when in Excel, tap on the column header, (where it has the column identified as A, B, C, etc.), the whole column will be highlighted in blue and you will notice that on one side of the column header is a double line. Simply place finger on the header and slide to desired width. Tap outside of the column to return to the document.
-
How to set column width for Label in Form region?
In the form region, the label value is a lengthy text, and it does not wrap. How do I make it wrap to a fixed column width?
Under Home>Application Builder>Application>Page>Edit Page Item,
i have set "HTML Table Cell Attributes" to width="300", but it still does not wrap. and pushes the field to the right end of the page.
I am quite sure there are better ways of doing this.thanks Simakas for the reply.
I had set the label template to "Optional" and that was forcing a "nowrap". After unsetting the template, I used your suggestion and it works like a charm. Thanks. -
How to control the versioning of Manual Test?
Hi,
I need a way to control the version of Manual Tests in Oracle Test Manager, because this documents will be undergo modification.
So, How I could make this control on Oracle Test Manager?Hi DRibeiro,
Please refer Test Manager User Guide which comes with OATS package.
Also refer the following link.
http://oracleats.com/blog/?p=794&paged=1&cat=3
Regards,
Deepu M -
How to resize column width in report?
hi all,
i read somewhere here that in order to resize column width in a report, you need to go to report attributes, then edit the column you wish to resize and then go to the CSS Style and place something like "width=600px". while this works very well in Internet Explorer, it somehow has no effect in Firefox 3.0. is there a way to make it work both browsers?
thanks
allenHi,
Sorry, I misunderstood. There are several methods you could use:
1 - Use the span tags around the data itself - this would require adding the tags into the sql statement itself
2 - Use javascript to set the column widths by adding a style to the TD tags for each cell
3 - Create a new Report Template and use COL tags immediately after the TABLE tag in the Before Rows section to specify the widths of all columns
Option 3 may be the easiest?
Andy
Maybe you are looking for
-
How Do I get My Movie to Work in Player
Hi Guys Can anyone guide me please to a basic how to tutorial in plain English? I have a movie that I exported from PremierePro CS5 into flv format and imported into Flash CS5. It opened a player and I followed the steps with local external video pl
-
Hi, There are apps made to steal the user. How could we report it? It should'n stay in the app store, pollution, and we still have some people paying! Example: iblacklist, by CXI Gaming... 90 advices telling it is just a fake... 90 people have payed
-
Problem after Installing Vista - Anyone know how to make it Mac by default?
Sup everyone, I have Leopard installed on my iMac (the new one), and i installed windows Vista, but now every time i turn on my iMac, it goes straight to Vista. I want it to start on Apple by default. How do i do that exactly(step by step)? besides h
-
Hello, I just want to know the best settings to export HD video compatible with Apple TV. I tried the Apple TV preset in FCE but with this the result movie is in SD.
-
before plugging my phone to itunes i downoaded three songs, but they are no longer on my phone, How do i get them back because when i go to itunes on my phone it says purchased but the song arent present