Help with Resizing of column widths in a pivot

HI all,
I m working on resizing the pivot coulmn width in a dashboard. Could anyone please help with resizing the pivot width. Autosize() works but user doesnt want that.
Whats the code to do that?

I read what was written but still am confused. I am completely lost at this pointWhat is confusing you? A TreeMap is just a HashMap where the key is stored is sorted order.
Read the Collections tutorial found [url http://java.sun.com/docs/books/tutorial/]here.

Similar Messages

  • 1. Resizing of column width. 2. Drag and drop of columns for resequencing

    QUERY : Has anyone some experience in implementation/development of following functionality in a JSP/Tomcat server based application:
    1. Resizing of column width for a result which has multiple columns. .2. Drag and drop of these columns or any other mechanism for re-sequencing the columns?
    I would like to know will JSF would be helpful in it.

    Amit,
    The column resizing and 'drag and drop ' are client side issues. They requires DHTML and Javascript.
    AJAX is what is required. (wiki AJAX for more info)
    I am working on an AJAX grid and combobox component for JSF that will do this and many more functions.
    Let me know if you want more information.
    [email protected]

  • Is it possible to resize page column widths at runtime (by the user)?

    hi all,
    i have cretaed a page using the 2-columns narrow/wide layout.  this layout is perfect for what i want to do.
    however, the users have complained that they would like to be able to resize the columns, just like they are able to do with the Detailed Navigation column (using the small "<" and ">" arrows).
    is it posssible to add this functionality to my custom pages so that can also resize the columns?
    i searched for options in the properties, but didn't find anything.
    thanks,
    mm

    This was a great place for me to start
    Thank you
    I took profdant139's suggestions a bit further as my real goal was to have the "Document column" narrower. The goal to be able to see all the other document info that was usually hidden way out to the right
    To achieve my results I right clicked in the upper bar with the column names and chose from the drop down box "comments" column (as suggested). I then dragged it to the far right. This pushed all the other columns over.
    In the end of the day I ended up adding "Size" and "Date modified" columns as well to get my desired results.
    Remember one can move different columns around to be in the order you need by clicking on the column to get it active and then left click and drag it to where you want
    Another great thing is that by default (Using Mavericks) the date modified, opened,created columns have date and time. One can shrink them down to xx/xx/xx format by manually adjusting the column width like one does in Excel - click on column separator up top and drag
    Once all that is done, at least on my box, I closed it out and opened up a new finder window and everything was as I wanted.
    Thank you for the help  from the above helper to get me here

  • Form Resize Affect Column width?

    Hi Folks,
    I have a very strange problem. I try to add a new matrix to Production Order form. The matrix will have 2 columns which are:
    1. No - Non Editable (for numbering)
    2. Description (information).
    My code is like the following:
            oItem = oForm.Items.Add("mxRoute", SAPbouiCOM.BoFormItemTypes.it_MATRIX)
            oItem.Left = 12
            oItem.Width = 532
            oItem.Top = 136
            oItem.Height = 183
            oItem.FromPane = 3
            oItem.ToPane = 3
            oMatrix = oItem.Specific
            oColumns = oMatrix.Columns
            '// Adding Culomn items to the matrix
            oColumn = oColumns.Add("#", SAPbouiCOM.BoFormItemTypes.it_EDIT)
            oColumn.TitleObject.Caption = "#"
            oColumn.Width = 20
            oColumn.Editable = False
            oColumn = oColumns.Add("Col1", SAPbouiCOM.BoFormItemTypes.it_EDIT)
            oColumn.TitleObject.Caption = "Operations"
            oColumn.Width = 500
            oColumn.Editable = True
    The problem occured when i try to maximize my form. The first Col (#) will resize to a very big size!!! When i try to resize it to smaller form, it still very big column. Anybody has clue what should i do to the form since it is not possible to restrict the form type to Fixed???
    Your help will be very appreciated..
    Rgds,
    Harianto Ng

    Hi Harianto Ng,
    Catch the after resize event and resize both columns by hand.
    1. calculate width of columns 1 + 2
    2 resize the first to 20
    3 resize the second to totalwidth-20
    Regards
    Ad

  • JTable resizing the column width

    Have a JTable whose column width's are set using
    int width = ((String)getDataTbl().getColumnModel().getColumn(0).getHeaderValue()).length() + 32;
    getDataTbl().getColumnModel().getColumn(0).setPreferredWidth(width);
    int width1 = ((String)getDataTbl().getColumnModel().getColumn(1).getHeaderValue()).length()+207
    getDataTbl().getColumnModel().getColumn(1).setPreferredWidth(width1);
    Now depending on the data in column 1 the column width has to be increased if more than width1 and the scroll bar should apprear only in this case only?
    How to do this?
    Thanks.

    maybe you can implement a interface ComponentListener as well as ComponentAdapter with your topmost Table.
    for example:
    toptable.addComponentListener(
    new ComponentAdapter(){
    public void componentResized(ComponentEvent e){
    table1.setSize(....);
    table2.setSize(....);
    /*Optionally, you must also call function revalidate
    anywhere;*/
    );

  • Help with resizing adjacent partitions on mirrored drives - Solaris 9 V240

    Hi,
    I need some help here. I'm very new to unix administration. I am running out of space on my /var directory. I have a set of 72G disks that are mirroring each other. The /var is mounted on /dev/md/dsk/d5 which has only 262M available out of 5.8G. Meanwhile the partition adjacent to it /dev/md/dsk/6 which has the /opt/app directory mounted has 5.8G available out of 13G.
    Is it possible for me to take space from the slice 6 and give it to slice 5? How do I do this without loosing any data?
    Here is some info about my system:
    AVAILABLE DISK SELECTIONS:
    0. c1t0d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
    /pci@1c,600000/scsi@2/sd@0,0
    1. c1t1d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
    /pci@1c,600000/scsi@2/sd@1,0
    2. c2t5d0 <Symbios-StorEDGEA1000-0301 cyl 17344 alt 2 hd 64 sec 64>
    /pseudo/rdnexus@2/rdriver@5,0
    3. c2t5d1 <Symbios-StorEDGEA1000-0301 cyl 17344 alt 2 hd 64 sec 64> APP02
    /pseudo/rdnexus@2/rdriver@5,1
    # df -h
    Filesystem      size      used      avail      capacity      Mounted on
    /dev/md/dsk/d0 15G 14G 1.5G 91%           /
    /proc      0K 0K 0K 0%           /proc
    mnttab      0K 0K 0K 0%           /etc/mnttab
    fd      0K 0K 0K 0%           /dev/fd
    /dev/md/dsk/d5 5.8G 5.5G 264M 96%           /var
    swap 16G 168K 16G 1%           /var/run
    /dev/dsk/c2t5d1s3 15G 26M 15G 1%           /u1
    /dev/dsk/c2t5d0s0 5.9G 3.0G 2.7G 53%           /u2
    /dev/dsk/c2t5d0s5 5.9G 1.2G 4.4G 22%           /u3
    /dev/md/dsk/d3 4.8G 3.1G 1.7G 65%           /opt
    /dev/md/dsk/d4 4.8G 2.8G 2.0G 59%           /tmp
    /dev/dsk/c2t5d0s3 5.9G 882M 4.8G 16%           /opt/devbkup
    /dev/dsk/c2t5d0s4 5.9G 630M 5.0G 11%           /opt/workarea
    /dev/dsk/c2t5d0s6 3.9G 2.4G 1.3G 65%           /opt/patch
    /dev/dsk/c2t5d0s7 5.7G 1.9G 3.5G 36%           /opt/app
    /dev/md/dsk/d6 13G 7.5G 5.8G 57%           /opt/app2
    /export/home/jason 15G 14G 1.5G 91%           /home/jason
    Current Disk = c1t0d0
    <SUN72G cyl 14087 alt 2 hd 24 sec 424>
    /pci@1c,600000/scsi@2/sd@0,0
    Volume name = < >
    ascii name = <SUN72G cyl 14087 alt 2 hd 24 sec 424>
    pcyl = 14089
    ncyl = 14087
    acyl = 2
    nhead = 24
    nsect = 424
    Part     Tag     Flag     Cylinders     Size     Blocks
    0     root     wm     0 - 3220     15.63GB     (3221/0/0)     32776896
    1     swap     wu     3221 - 5636     11.72GB     (2416/0/0)     24585216
    2     backup     wm     0 - 14086     68.35GB     (14087/0/0)     143349312
    3     unassigned     wm     5637 - 6643     4.89GB     (1007/0/0)     10247232
    4     unassigned     wm     6644 - 7650     4.89GB     (1007/0/0)     10247232
    5     var     wm     7651 - 8858     5.86GB     (1208/0/0)     12292608
    6     unassigned     wm     8859 - 1167     13.67GB     (2818/0/0)     28675968
    7     unassigned     wm     11677 - 11685     44.72MB     (9/0/0)     91584
    Current Disk = c1t1d0
    <SUN72G cyl 14087 alt 2 hd 24 sec 424>
    /pci@1c,600000/scsi@2/sd@1,0
    Volume name = < >
    ascii name = <SUN72G cyl 14087 alt 2 hd 24 sec 424>
    pcyl = 14089
    ncyl = 14087
    acyl = 2
    nhead = 24
    nsect = 424
    Part     Tag     Flag     Cylinders     Size     Blocks
    0     root     wm     0 - 3220     15.63GB     (3221/0/0)     32776896
    1     swap     wu     3221 - 5636     11.72GB     (2416/0/0)     24585216
    2     backup     wm     0 - 14086     68.35GB     (14087/0/0)     143349312
    3     unassigned     wm     5637 - 6643     4.89GB     (1007/0/0)     10247232
    4     unassigned     wm     6644 - 7650     4.89GB     (1007/0/0)     10247232
    5     var     wm     7651 - 8858     5.86GB     (1208/0/0)     12292608
    6     unassigned     wm     8859 - 11676     13.67GB     (2818/0/0)     28675968
    7     unassigned     wm     11677 - 11685     44.72MB     (9/0/0)     91584
    If this isn't possible, it looks like I have about 12G of free space. Partition 7 is only using from 11677-11685 while I could take it up to 11677-14086. I would then have to create the mirror metattach for that partition and then would I just unmount /var and remount it on the new /dev/md/dsk/d7? I'll need help with that. Then what would I do with the unused d5?
    A step by step response would be great! Thanks!

    # metadb
    flags first blk block count
    a m p luo 16 8192 /dev/dsk/c1t0d0s7
    a p luo 8208 8192 /dev/dsk/c1t0d0s7
    a p luo 16 8192 /dev/dsk/c1t1d0s7
    a p luo 8208 8192 /dev/dsk/c1t1d0s7
    # metastat | more
    d0: Mirror
    Submirror 0: d20
    State: Okay
    Submirror 1: d10
    State: Okay
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 32776896 blocks (15 GB)
    d20: Submirror of d0
    State: Okay
    Size: 32776896 blocks (15 GB)
    Stripe 0:
    Device Start Block Dbase State Reloc Hot Spare
    c1t1d0s0 0 No Okay Yes
    d10: Submirror of d0
    State: Okay
    Size: 32776896 blocks (15 GB)
    Stripe 0:
    Device Start Block Dbase State Reloc Hot Spare
    c1t0d0s0 0 No Okay Yes
    d1: Mirror
    Submirror 0: d21
    State: Okay
    Submirror 1: d11
    State: Okay
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 24585216 blocks (11 GB)
    d21: Submirror of d1
    State: Okay
    Size: 24585216 blocks (11 GB)
    Stripe 0:
    Device Start Block Dbase State Reloc Hot Spare
    c1t1d0s1 0 No Okay Yes
    d11: Submirror of d1
    State: Okay
    Size: 24585216 blocks (11 GB)
    Stripe 0:
    Device Start Block Dbase State Reloc Hot Spare
    c1t0d0s1 0 No Okay Yes
    d3: Mirror
    Submirror 0: d23
    State: Okay
    Submirror 1: d13
    State: Okay
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 10247232 blocks (4.9 GB)
    Stripe 0:
    Device Start Block Dbase State Reloc Hot Spare
    c1t1d0s3 0 No Okay Yes
    d13: Submirror of d3
    State: Okay
    Size: 10247232 blocks (4.9 GB)
    Stripe 0:
    Device Start Block Dbase State Reloc Hot Spare
    c1t0d0s3 0 No Okay Yes
    d4: Mirror
    Submirror 0: d24
    State: Okay
    Submirror 1: d14
    State: Okay
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 10247232 blocks (4.9 GB)
    d24: Submirror of d4
    State: Okay
    Size: 10247232 blocks (4.9 GB)
    Stripe 0:
    Device Start Block Dbase State Reloc Hot Spare
    c1t1d0s4 0 No Okay Yes
    d14: Submirror of d4
    State: Okay
    Size: 10247232 blocks (4.9 GB)
    Stripe 0:
    Device Start Block Dbase State Reloc Hot Spare
    c1t0d0s4 0 No Okay Yes
    d6: Mirror
    Submirror 0: d26
    State: Okay
    Submirror 1: d16
    State: Okay
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 28675968 blocks (13 GB)
    d26: Submirror of d6
    State: Okay
    Size: 28675968 blocks (13 GB)
    Stripe 0:
    Device Start Block Dbase State Reloc Hot Spare
    c1t1d0s6 0 No Okay Yes
    d16: Submirror of d6
    State: Okay
    Size: 28675968 blocks (13 GB)
    Stripe 0:
    Device Start Block Dbase State Reloc Hot Spare
    c1t0d0s6 0 No Okay Yes
    d5: Mirror
    Submirror 0: d25
    State: Okay
    Submirror 1: d15
    State: Okay
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 12292608 blocks (5.9 GB)
    d25: Submirror of d5
    State: Okay
    Size: 12292608 blocks (5.9 GB)
    Stripe 0:
    Device Start Block Dbase State Reloc Hot Spare
    c1t1d0s5 0 No Okay Yes
    d15: Submirror of d5
    State: Okay
    Size: 12292608 blocks (5.9 GB)
    Stripe 0:
    Device Start Block Dbase State Reloc Hot Spare
    c1t0d0s5 0 No Okay Yes
    Device Relocation Information:
    Device Reloc Device ID
    c1t1d0 Yes id1,sd@SSEAGATE_ST373207LSUN72G_3532DM4K____________3KT2DM4K
    c1t0d0 Yes id1,sd@SSEAGATE_ST373207LSUN72G_4032QM28____________3KT2QM28
    I thank you for any help you can give! Thanks!

  • Help with Resizing LUNS on Hitachi 9980

    Hi everyone, I need a little help here resizing my LUNS on our Hitachi 9980. I currently have a 1 TB and I want to increase or resize this to 2 TB. I am wondering if someone can help me here. This is something I haven't done before. Is there a step by step way of doing this. I was told that it could be done off line or online. Which is safer? Do I also need to reboot the Host after the resizing? Thanks for your assistance.
    JC

    Hi everyone, I need a little help here resizing my LUNS on our Hitachi 9980. I currently have a 1 TB and I want to increase or resize this to 2 TB. I am wondering if someone can help me here. This is something I haven't done before. Is there a step by step way of doing this. I was told that it could be done off line or online. Which is safer? Do I also need to reboot the Host after the resizing? Thanks for your assistance.
    JC

  • Help with css 3 column layout with background

    So I'm really not much of a web designer and usually deal in
    print but a friend wanted help with her site so I'm taking a crash
    course in css. so I was wondering if anyone a little more web savvy
    than I can spot why my sites background Is sliding around.
    this is the site as it
    stands
    this is the
    main css i found a site to generate the codes to get around browser
    specific glitches
    what
    I see in Safari
    what
    i see in firefox
    what
    background should look like
    any help would be greatly appreciated thanks

    Peter Llamas posted in macromedia.dreamweaver:
    > So I'm really not much of a web designer and usually
    deal in print
    > but a friend wanted help with her site so I'm taking a
    crash
    > course in css. so I was wondering if anyone a little
    more web
    > savvy than I can spot why my sites background Is sliding
    around.
    >
    http://whiskeylemonade.x10hosting.com
    I have no idea what you mean by "sliding around", but could
    it have
    something to do with your missing old_break.css file?
    http://whiskeylemonade.x10hosting.com/css/old_break.css
    HTTP/1.x 404 Not Found
    Mark A. Boyd
    Keep-On-Learnin' :)

  • Help with FIXED LENGTH columns - using spool command

    Hi guys,
    I have a view I am trying to spool using fixed length columns, and the spacing is off. Ive tried numerous things such as specifiying the column width before running the query, using the rpad command, but nothing seems to work. I have to spool it to a text file in order for the users to import this file into another system. I would welcome any and all suggestions. Thanks so much. The following is the view:
    SELECT "EMPLOYEE_ID","FIRST NAME","INITIAL","LAST NAME","SUFFIX","TRAINING DATE","Course ID","Class ID", "We", "Make / Model", "Cali", "Barrell", "Serial Number", "Qualification", "Application", "SCORE", "Status", "Add Time", "Record Add ID","Record Add Date","Record Change ID","Record Change Date","RN" FROM
    (SELECT
    UPPER(RPAD(tbl.ssn,10)) AS "EMPLOYEE_ID",
    UPPER(RPAD('',12)) AS "FIRST NAME",
    UPPER(RPAD('',1)) AS "INITIAL",
    UPPER(RPAD('',20)) AS "LAST NAME",
    UPPER(RPAD('',5)) AS "SUFFIX",
    UPPER(RPAD(to_char(QUALDATE, 'mmddyyyy'),8)) AS "TRAINING DATE",
    UPPER(RPAD('P123',8)) AS "Course ID",
    UPPER(RPAD('',6)) AS "Class ID",
    UPPER(RPAD('P',4)) AS "We",
    UPPER(RPAD('',4)) AS "Make / Model",
    UPPER(RPAD('',4)) AS "Cali",
    UPPER(RPAD('',7)) AS "Barrell",
    UPPER(RPAD('',15)) AS "Serial Number",
    UPPER(RPAD('A',4)) AS "Qualification",
    UPPER(RPAD('D',4)) AS "Application",
    to_char((RAWSCORE/250)*100, 'fm000.00') AS "SCORE",
    UPPER(RPAD('PASS',4)) AS "Status",
    UPPER(RPAD('',8)) AS "Add Time",
    UPPER(RPAD('',8)) AS "Record Add ID",
    UPPER(RPAD('',8)) AS "Record Add Date",
    UPPER(RPAD('',8)) AS "Record Change ID",
    UPPER(RPAD('',8)) AS "Record Change Date",
    row_number()over(partition by firearms_scores.ID_NUMBER order by QUALDATE desc ) rn
    FROM FIREARMS_scores, TBL
    where scores.id_number=tbl.id_number
    and qualyear='2010' and coursecode='SA'
    order by employee_id)
    where rn =1

    Hi,
    You RPAD doesn't do anything, since they are same as:
    SQL> SELECT NULL AS "Record Add ID",
      2         NULL AS "Record Add Date",
      3         NULL AS "Record Change ID",
      4         NULL AS "Record Change Date" FROM DUAL;
    R R R R
    SQL>Can't see why COLUMN command shouldn't do what you want. Maybe you forgot the double quotes?
    SQL> COL "Record Add ID" FOR a18
    SQL> COL "Record Add Date" FOR a18
    SQL>
    SQL> SELECT NULL AS "Record Add ID",
      2         NULL AS "Record Add Date",
      3         NULL AS "Record Change ID",
      4         NULL AS "Record Change Date" FROM DUAL;
    Record Add ID      Record Add Date    R R
    SQL>P.S: You probably shouldn't set a column width which is smaller than the header length
    Regards
    Peter

  • Need help with a calculated column - is there any way to reference a value in the current row?

    Hey guys,
    I'm a bit of a DAX newbie, and I'm running into a block. I'm creating a Power View report about IT tickets. We are going to be creating a cube to automate the data soon, I'm currently working with a flat Excel Data Table of data to demonstrate the Power
    View reporting capabilities to the team. I need the default display to show the top 4-5 items basked on the Ticket Count. The three applicable columns I'm using are the TicketID, the ContactReason, and the AssetCategory - all three are
    text. One slide will show the top five Contact Reasons by Ticket Count, and the other will show the top five Categories by Ticket Count. The users will see this default view, but will be able to change it to see differently ranked items or can clear the
    ranking slicer altogether.
    What I've accomplished so far is to create the Calculated Field [Ticket Count] = COUNTA(Table1[TicketID])
    And 2 other calculated fields:
    [Contact Rank] = RANKX(ALL(Table1[ContactReason]),[Ticket Count],,,DENSE)
    [Asset Rank] = RANKX(ALL(Table1[AssetCategory]),[Ticket Count],,,DENSE)
    If I were creating a Pivot Table, this would be great. These fields calculate everything the right way. The problem is, I need to have a Rank slicer on each slide and the calculation by itself contains no data - with no data, there's nothing to slice. I
    realized I need to actually have columns of data so I can create a slicer. I need each row of the table to show the same [Contact Rank] for every instance of a particular ContactReason (and the same for the [Asset Rank] and AssetCategory).
    The RANKX formulas pasted into the Calculated Column section only show a value of 1 - with no Pivot table summarizing the fields, it's counting each row's ticket once, giving every line the tied Rank of #1.
    I've solved the problem in Excel by creating 2 Pivot Tables on a separate sheet that have the data field and the calculated field for ContactRason and AssetCategory. Then on my Excel Data Table, I've added two columns that do a VLOOKUP and pull over a the
    Calculated Rank from each Pivot Table that match the ContactReason and AssetCategory fields. This works on the flat Excel Data Table now, but will not be a solutions when we start pulling the data from the cube (and there is no flat table).
    What I think I need is an Expression for the RANKX formula that can give me, for each row, the count of all of the times a ContactReason shows up in an entire column. There's only about 100,000 lines of data and each ContactReason or AssetCategory
    may show up several thousand times. But if I can get the expression to return that count, then the RANKX formula should work in the Column. If it wasn't a DAX formula, I'd use a COUNTIF and say 'Count the entire ContactReason column anytime it's equal to the
    ContactReason on THIS row', but in DAX I don't know how to reference a single value in a row. I've tried the CALCULATE() formula, but it seems like the filter needs a specific value, and doesn't work on a dynamic "cell" value.
    Any help would be greatly appreciated! (I hope it all makes sense!)

    If I've understood you correctly then the ALLEXCEPT function may be what you're after and it could be applied in a similar way to the following...
    =
    RANKX(
    ALL(Table1),
    CALCULATE(
    COUNTROWS(table1),
    ALLEXCEPT(Table1, Table1[ContactReason])
    DENSE
    If this has missed the mark, would it be possible to clarify the requirement further?
    Regards,
    Michael Amadi
    Please use the 'Mark as answer' link to mark a post that answers your question. If you find a reply helpful, please remember to vote it as helpful :)
    Website: http://www.nimblelearn.com
    Blog: http://www.nimblelearn.com/blog
    Twitter: @nimblelearn

  • Help with divs and columns please?

    Hello all,
    I'm quite new to dreamweaver and having problems. I am
    designing a site with 3 columns (left for nav, middle for main
    content and right for offers & advertising etc.) I am using
    tables within the divs to organise content and I have aligned the
    divs left and in all sorts of other ways to try and get them to
    look like 3 columns but no matter what I do the right column always
    ends up underneath the middle column. What am I doing wrong?
    Thanks in advance

    Faux columns. I don't like javascript solutions.
    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
    ==================
    "Jay Jhabrix" <[email protected]> wrote in message
    news:ga92ts$23c$[email protected]..
    > Murray,
    >
    > BTW... am trying to create a 3 column site... staying
    away from tables...
    > :)
    >
    > As i see it i have two choices:
    > 1/ Go for a 'faux column" kind of solution
    > 2/ PVII's javascript driven answer
    >
    > Ideally, i'd like to do it purely in CSS but with
    minimal hacks. I will be
    > using tables but don't want them to be a feature of the
    design... purely
    > for content. Background white. But want to have four
    borders... left,
    > right and the two central ones. Fixed width. Any
    suggestions, links?
    >
    > (One menu is definitely PMM.)
    >
    > Cheers,
    >
    > JJ
    >
    > "Murray *ACE*" <[email protected]>
    wrote in message
    > news:ga920g$tv$[email protected]..
    >>I can take it....
    >>
    >> --
    >> 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
    >> ==================
    >>
    >>
    >> "Jay Jhabrix" <[email protected]> wrote in
    message
    >> news:ga91so$ph$[email protected]..
    >>> "Murray *ACE*"
    <[email protected]> wrote in message
    >>> news:ga8vu7$rpa$[email protected]..
    >>>
    >>>> Heh - no. It was the perceived status of the
    OP.
    >>>
    >>> That's what i kind of figured... but couldn't
    resist the dig ;->
    >>>
    >>
    >
    >

  • Resize jtable column width

    I am trying implement a utility in JTable by which when a person clicks on the column header, the whole column should resize according to the cell which has lengthiest data. If you have seen this in MS Excel where by clicking on the column this happens. I want the same thing.
    Is there anyway already defined in javax.swing?
    I have added a Mouselistener on Tableheader and when the person clicks on a column header, I first finds out the column index. Now on that column index scan the whole column for the lengthiest data. After finding the lengthiest data I set the preferred width for that column and call doLayout on the table object. In this case the problem is of font as the font is not fixed width. The multiplication factor which returns the pixel doesn't gives the right pixel width. Is there any way by which I can find pixel width of a String?

    Use the following code to compute the width of a
    column in pixels required to display the maximum sized
    string in the table column:
    FontMetrics fm =
    table.getFontMetrics(table.getFont());
    int width =
    SwingUtilities.computeStringWidth(fm,maxSizeString)
    //then to set the width of your column:
    TableColumnModel columnModel =
    table.getColumnModel();
    TableColumn column =
    columnModel.getColumn(YOUR_COLUMN);
    column.setPreferredWidth(width);Rizwanthx that was usefull

  • Help with resizing document

    Hi guys,
    I am trying to resize my current document.  It is currently 1000px and I want to make it 1300px but when I do that, all the elements that is near the top becomes off the screen to the top...Why is that?  I only want the document to be longer in height from the bottom but not sure what it is affecting the elements on the top?
    Any help appreciated.

    Check you publish settings html scale, you might already have "No Border" selected, try publish with "Show all" or "Exact fit".
    You may also edit the scale from html <param name="scale" value="noborder", try change it to showall or exactfit.
    The swf scale can also be controlled by actionscript Stage.scaleMode
    Don't give up, it is not difficult if you already know the way

  • Matrix - Help with setting 1st column for line numbers

    Hi,
    I have created a matrix on a custom form and would like to add line numbers to the # column line that of the quotation screen.
    The matrix itself is populated correct from the Query and LoadFromDataSource, and all the fields and columns are filled in correctly, the only column I am having trouble with is the 1st one for line numbers. My code for adding the line numbers is
    SBO_Application.MessageBox("Matrix Count: " & tMatrix.RowCount)
    For i = 1 To tMatrix.RowCount
          oEditText = tColumns.Item("#").Cells.Item(i).Specific
          oEditText.Value = i
    Next
    For the example I am using I get the message box appear:
    Matrix Count: 26
    So I know I should have the line number go from 1 to 26, however I only get 1 to 9 displayed, all the remaining lines are blank.
    Any ideas on why it stops at 9 or what I should do to correctly set the line numbers in the Number column like that of the system Quotation/Sales orders forms.
    Your help is much appreciated
    Matthew

    Hi,
    I tried changing it to the following as you suggested:
    SBO_Application.MessageBox("Matrix Count: " & tMatrix.VisualRowCount)
    For i = 1 To tMatrix.VisualRowCount
        oEditText = tColumns.Item("#").Cells.Item(i).Specific
        oEditText.Value = i
    Next
    The message box still displays 26, however my lines still only go up to number 9.
    Thanks for the quick response.

  • Help with Formula/Placeholder columns for group totals

    I have select that is broken into 2 groups (a COMPANY group and a DETAIL group within company). I need to determine the COMPANY group totals based on values in a column in the DETAIL group. I.E. the column is a transaction description and can have up to 15 different values and it did not appear that a summary column would work for what I need. I have currently set up 15 formula columns in the DETAIL group and check the value of the REASON to accumulate totals and return the total to a PLACEHOLDER column (which is numeric and defined in the COMPANY group).
    I then report the Placeholder columns at break of COMPANY. This all works fine if I run only one company. If I run with multiple companies the Placeholder columns are used as a running total.
    My question is how do I reset the PLACEHOLDER columns at company break if at all, or is there a simpler way to accomplish what I need.
    Any and all assistance would be greatly appreciated.
    Tom Vereecke

    If you are using one placeholder column in different formula columns just ignore the following solution. It will not work in that case. I will post it here if i find out any way to initialize placeholder columns at different groups or anyother way to solve this issue.
    I think if you remove placeholder columns and create summary columns at Company Level, that will work. And formula columns will be changed as follows:
    Formula Column:
    active_total number(10) := 0;
    begin
    if :status_1 = 'ACTIVE' then
    active_total := active_total + 1;
    end if;
    if :status_2 = 'ACTIVE' then
    active_total := active_total + 1;
    end if;
    if :status_3 = 'ACTIVE' then
    active_total := active_total + 1;
    end if;
    return active_total;
    end;
    And in summary columns source will be formula columns. And reset the summary columns at Company.
    Hope this helps.
    Message was edited by:
    fs

Maybe you are looking for

  • ON ALV  Report

    Hello Friends, Below is the code and when displaying the data ,Table fields names (Column Names) are displayed properly .But when come to  VALUE_BAL_LEFT,BAL_LEFT Its not displaying any column name ,what to do  inorder to get Column heading for the a

  • Third party billing error

    Hai friends this kiran when i am doing the process for third party sales i got the error at billing level. i rasied the sales order with item category TAS and got the requisetion number. with that reference PR i did PO and done the migo also. when i

  • My new iphone-5 isight camera has 2 or 3 red hot pixels. Is that a normal?

    I bought (iPhone 5) 2 days ago and now I found out there's two or three Red color hot pixels on isight camera esp on rear camera in the dark. I just want to know other iphone5 has the same problem like mine or not. Please help me out. SamuelMei

  • Create A Rotator Banner in DW?

    Hey, I have Dreamweaver MX and I was wondering if it was possible to create a banner of rotating images. I just want a series of 5 images to rotate on a loop. I'd like to be able to fade up/down, but that's not really necessary. Thanks! :)

  • TS1702 How can i put gina back on my iphone

    I had to up date my mac for emails and i was up dating my iphone so it was compatable to my compture and everything has work expect gina iphone