scroll bar for both tables of different size

Hello world

I am applying for thermocouples. Application is working otherwise fine, but I can't make two tables of different size scrolls with a scroll bar. I've attached a picture to make it a little easier to understand. In the photo you can see that there are two tables. Superior is 1 d including channel names. Below is a table with time and the measured temperatures. Vertical scrolling works very well that only the lower table must be the object of a scroll. But if I want to scroll horizontally, I also need to scroll the top table so that the channel names and measured temperatures would correspond. This is the problem that I have not been able to solve. The lower table can 'constantly' update (vertically) because the measure may be underway. I tried to use nodes property tables below top table of controls (IndexValues). I found many many solutions that work with the same dimension tables, but I couldn't manage so that they work with my application. Anyone have any ideas? I use LV 8.6

Thank you

Mika

Also consider using a Table, where the built-in column heading allows to scroll the data, and it is the only control header & data.

Tags: NI Software

Similar Questions

  • 'For' loop with a different number of iterations. Second, the auto-indexation of the tables with different sizes is done. It can affect the performance of the Vi?

    Hello

    I have a loop 'for' which can take different number of iterations according to the number of measures that the user wants to do.

    Inside this loop, I'm auto-indexation four different 1 d arrays. This means that the size of the tables will be different in the different phases of the execution of the program (the size will equal the number of measures).

    My question is: the auto-indexation of the tables with different sizes will affect the performance of the program? I think it slows down my Vi...

    Thank you very much.

    My first thought is that the compiler to the LabVIEW actually removes the Matlab node because the outputs are not used.  Once you son upward, LabVIEW must then call Matlab and wait for it to run.  I know from experience, the call of Matlab to run the script is SLOW.  I also recommend to do the math in native LabVIEW.

  • Horizontal scroll bar for JComboBox through multiple aspect

    From [http://www.coderanch.com/t/432788/GUI/java/JComboBox-horizontall-scroll-bar] and [http://forums.sun.com/thread.jspa?threadID=5369365], I know that the technique to have a horizontal scroll bar for JComboBox.

    However, their proposed solution are limited to the Look n Feel specific.

    As you can see, the below excerpt key code is malfunctioning, if users are Linux machine with GTK + look n feel, or machine Windows with Nimbus look n feel.

    How can I have a portable way to JComboBox able to have a horizontal scroll bar?

    The complete source code is [http://jstock.cvs.sourceforge.net/viewvc/jstock/jstock/src/org/yccheok/jstock/gui/AutoCompleteJComboBox.java?revision=1.16 & view = markup]

    The key code snippet are as follows:

    package org.yccheok.jstock.gui;
    
    public class AutoCompleteJComboBox extends JComboBox {
    
       @Override
        public void setUI(ComboBoxUI ui)
        {
            if (ui != null)
            {
                // Let's try our own customized UI.
                Class c = ui.getClass();
                final String myClass = "org.yccheok.jstock.gui.AutoCompleteJComboBox$My" + c.getSimpleName();
    
                try {
                    ComboBoxUI myUI = (ComboBoxUI) Class.forName(myClass).newInstance();
                    super.setUI(myUI);
                    return;
                } catch (ClassNotFoundException ex) {
                    log.error(null, ex);
                } catch (InstantiationException ex) {
                    log.error(null, ex);
                } catch (IllegalAccessException ex) {
                    log.error(null, ex);
                }
            }
    
            // Either null, or we fail to use our own customized UI.
            // Fall back to default.
            super.setUI(ui);
        }
    
        // This is a non-portable method to make combo box horizontal scroll bar.
        // Whenever there is a new look-n-feel, we need to manually provide the ComboBoxUI.
        // Any idea on how to make this portable?
        //
        protected static class MyWindowsComboBoxUI extends com.sun.java.swing.plaf.windows.WindowsComboBoxUI
        {
            @Override
            protected ComboPopup createPopup()
            {
                return new MyComboPopup(comboBox);
            }
        }
    
        protected static class MyMotifComboBoxUI extends com.sun.java.swing.plaf.motif.MotifComboBoxUI
        {
            @Override
            protected ComboPopup createPopup()
            {
                return new MyComboPopup(comboBox);
            }
        }
    
        protected static class MyMetalComboBoxUI extends javax.swing.plaf.metal.MetalComboBoxUI
        {
            @Override
            protected ComboPopup createPopup()
            {
                return new MyComboPopup(comboBox);
            }
        }
    
        private static class MyComboPopup extends BasicComboPopup
        {
            public MyComboPopup(JComboBox combo)
            {
                super(combo);
            }
    
            @Override
            public JScrollPane createScroller()
            {
                return new JScrollPane(list,JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED,
                        JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED);
            }
        }
    }
    Published by: 803903 on October 20, 2010 18:03

    Darryl Burke wrote:
    Purists will tell you that such things should not be done in a renderer

    not too purist - but there are thingies you MUST NOT spread like that pollutes community knowledge ;-)

    There is an official way (read: code of the heart itself does swing combo) to access the pop-up window and then do what you must

        private void adjustScrollBar(JComboBox box) {
            if (box.getItemCount() == 0) return;
            Object comp = box.getUI().getAccessibleChild(box, 0);
            if (!(comp instanceof JPopupMenu)) {
                return;
            }
            JPopupMenu popup = (JPopupMenu) comp;
            JScrollPane scrollPane = (JScrollPane) popup.getComponent(0);
            scrollPane.setHorizontalScrollBar(new JScrollBar(JScrollBar.HORIZONTAL));
            scrollPane.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED);
        }
        
    

    Simply assign the scroll bar will work at any time after the creation of the drop-down list (BTW: assigning the horizontalScrollBar null got really... didn't even know it is valid). If you want to resize the drop-down list, you will need to do it in a popupMenuListener willBecomeVisible: at this time, all internal components are ready for touch-ups. Just for fun, set up the drop-down list to adapt to the requirements of the size of a JXTable used as a rendering component:

        private void adjustPopupWidth(JComboBox box) {
            if (box.getItemCount() == 0) return;
            Object comp = box.getUI().getAccessibleChild(box, 0);
            if (!(comp instanceof JPopupMenu)) {
                return;
            }
            JPopupMenu popup = (JPopupMenu) comp;
            JScrollPane scrollPane = (JScrollPane) popup.getComponent(0);
            Object value = box.getItemAt(0);
            Component rendererComp = box.getRenderer().getListCellRendererComponent(null, value, 0, false, false);
            if (rendererComp instanceof JXTable) {
                scrollPane.setColumnHeaderView(((JTable) rendererComp).getTableHeader());
            }
            Dimension prefSize = rendererComp.getPreferredSize();
            Dimension size = scrollPane.getPreferredSize();
            size.width = Math.max(size.width, prefSize.width);
            scrollPane.setPreferredSize(size);
            scrollPane.setMaximumSize(size);
            scrollPane.revalidate();
        }
        
    

    and Yes, this is the example for setXXSize. But then, it isn't but application code a code 'in-house framework.

    See you soon... and the real work
    Jeanette

  • Container for several tables of different length

    Hey,.

    I'm doing an algorithm for labelling component connected in LabVIEW.  I came across the problem that I need some sort of data structure that I can't create.  I hope that I've missed something and someone can report this to me.

    What I'm looking for is a container that can contain lists of lists of 2 values.  Basically, I have several labels.  Each label will have a list of coordinates in.  The closest I came to this creation is a 2D cluster table.  Then, the cluster contains the coordinates X and Y.  The problem is that each list is not the same size, and for a table of 2D in labVIEW, all rows/columns must have the same length.

    In summary, I'm looking for a way to store multiple lists of coordinates.  The lists will all be of different lengths, and I don't know how many lists there will be.

    Is it possible to do this?

    If not, does anyone know an easier way than that looking for a 2D for concentrations table all?  At the back of my mind, I want to say that there may be a Vision VI of OR who can do this, but I can't find a.

    Thanks for your help,

    Dominic Walker

    A way to manage several arrays of different lengths (but all the same type of data) is to put the berries in a queue.  Each element in the queue must be a table, but they can be of different lengths.  To get to all the tables, you use the preview queue feature.  It returns an array of clusters with each table queue in a separate group (if I remember correctly).   Perhaps an array of clusters of berries would work for you.  I just checked that this allows arrays of different lengths.  You can also place a control of the chain with the label of the cluster if it is appropriate.

    Lynn

  • How to create a horizontal scroll bar for interactive report region?

    Hello

    I use APEX 4.2.5.00.08 and created interactive reports that contain many columns. However when viewing the results of the report, due to the large number of columns report/table data is outside of the region and a horizontal scroll bar appears in the window of my main browser. This seems not very good from the point of view of the customer/end user and I was wondering if it is possible the size of declare the region according to a specific size and have a scroll bar horizontal that it contains, so that users can view the rest of the report columns using the scroll instead bar rather than do what he done right now and go to the screen and having to use the main browsers horizontal scroll bar at the bottom.

    I tried on IE8, Chrome and Firefox 27.0.1 and get the same result. I tried to follow the ideas in this thread, in interactive report horizontal scroll bar, but nothing is.

    You have ideas on how I can get around this please?

    Concerning

    Hi user10248308


    Try this


    Step 1:-modify the interactive report

    Step 2:-under defination region-> header area

    put

    Step 3:-under area Defination-> foot of the region

    put


    Please come back if this is not yet resolved.

  • scroll bars in the tables in dreamweaver cs4

    Please help trying to create scrollbars contained can be placed inside a table, content I use a long for the length of the page, dreamweaver CS4

    omedia.co.za wrote:

    Hi, osgood, thanks for the reply, I am novice and sorry, but I'm still not clear on what you mean, could you please explain in detail how to make these scroll bars, appreciate your time. :-/

    Hmmm... not sure how much more clear I can explain it to be honest.

    Insert your mouse cursor on your page where you need the scroll area to appear.

    Then switch to code view. You should see your flashing between two cursor|tags, (table cell)

    Where the cursor is flashing type in:

    Then insert all the content you need to scroll in the 'wheel '.

    Your scrolling content to go here

    Then, copy the css below and paste it into the head section of your page directly before the closing tag to the top of our page.

    Change the width and height of all that suits your needs.

  • main scroll bar for nested frames

    I want to stack several documents vertically, each in a different setting under a framework of the top menu bar. However, I can't figure out how to make dreamweaver give me a scroll bar unique for all the images of the underside of the menu bar. Is it impossible? (I don't have scroll bars on individual images?)

    You can't do what you want to do with frames.  So, what's your plan B?

  • How to get the horizontal scroll bar of a Table?

    Hi all

    According to my requirement, I display multiple records in a form in a tabular Format. But here I must show 21 columns in this table that is too high. I am able to view it, but because it I get a scroll bar horizontal to the screen as all columns not in the normal window screen space. But its weird since the research once I am to right scrolling columns, but bar header and Global buttons above are not displayed, they are related to the normal screen space.

    Is it possible to have a horizontal scroll bar only for this table instead of the whole screen so that on the slider, only the rows in the table will be beshifted ant had displayed?

    With our thanks
    Gerber

    try this approach.
    include an element of plain text before and an array element.
    include HTML tags in the raw text element to allow horizontal scrolling

    Prasanna-

  • move the vertical scroll bar in a table

    Hello

    In my VI front panel contains a table of results with the visible vertical scroll bar.  When the program runs a performing a test, I am inserting a line every time the captured result.  The row is inserted in the lower part, and when all the visible lines are met you can not see the final result.  What I want to do is either focus on the last row to move the vertical scroll bar or move programmatically control scrollbar itself.  Is this possible?  If this is not the case, what is the property node that I need to display the last line of a table.  I have inserted the data at the top of the table, but this isn't really what the standard application programs do!

    Thank you

    Martin

    See attachment...

    Dan

  • scroll bar for a waveform graph

    Hi, I am the visible scroll bar in the front, but it's still gray out as shown below. How can I fix? Thank you!

    Your property in the history of the ranking may be too small to display data more than that.  Try to set the X axis scale so that it shows only 1 minute of data and your scroll bar will probably work.  If you need more history right click on the chart and select chart length story...  Change that to a much larger number.  The number is the number of data points it will buffer.  Its default value is 1024, which is quite small for most uses.

  • Add the vertical scroll bar for content panel

    I need to use long passages of text in a fixed size content area, so I need to add a vertical scroll bar on the side. Muse support says that I have to use HTML code to do this. I'm a designer, not a coder, can someone walk me through it?

    Hi Jeff,

    I wrote a quick tutorial in response to a similar question. You can see here. Re: how to add a vertical scroll bar?

    Make sure you read the comments after the message that I made a few adjustments to coding.

    I hope this helps.

    David

  • scroll bar for control in the movie frames

    How to create a scroll bar that allows the user to move between 20 consecutive images in the film. (Each image contains a different sprite)?

    OK I will try this funny code window thing, you do not see the validation code in your message.
    It's a kind of WYSINWYG

  • Vertical scroll bar in div table does not

    On this page with Spry tabs

    http://www.wiseye.org/wisEye_programming/campaign10/campaign2010newtabs-3.html

    On the second tab, I have a table next door I have to scroll about half right (more content).

    Scrolling displays grayed out, does not work. On the third tab, it works very well, who has stacked horizontally.

    Did anyone see anything in the code that it does not?

    < div style = "overflow-x: hidden; '. Overflow-y: scroll; Width: 290px; ">
    < table width = "100%" valign = "top" border = "1" cellspacing = "0" cellpadding = "1" >
    < b >
    < td width = "32%" rowspan = "4" > < span style = "do-size: small;" color: #9E2D1F; "> < a href =" link.pdf"target ="_blank"> District 1 < /a > < / span > < table >"
    < td width = "68%" > < table >
    < b >

    Also, it is not as tight to the edge like scrolling running the thrid tab, which is how I like it.

    Thank you very much!

    Inline styles should be avoided on web sites.

    Most of your CSS should be in external stylesheet (s) of your site.

    If you have a main.css you are using for the text, etc., put it there.

    Nancy O.
    ALT-Web Design & Publishing
    Web | Graphics | Print | Media specialists
    http://ALT-Web.com/
    http://Twitter.com/ALTWEB
    http://ALT-Web.blogspot.com

  • How to configure the settings for both tables?

    SELECT GM. GRNNO, GM. GRNDATE, SUM (GS. APPROVED), SM. ISSUENO, SM. ISSUEDATE, GS. ITEMCODE, SUM (SS. ISSUEDQTY)
    OF GS, SM IMS_ISSUEM, GM IMS_GRNM, SS IMS_ISSUES IMS_GRNS
    WHERE GM. GRNMSERIAL = GS. GRNSSERIAL
    AND SM. ISSUEMSERIAL = SS. ISSUESSERIAL
    AND GM. POSTED = 'T'
    AND SM. POSTED = 'T'
    AND GS. ITEMCODE = SS. ITEMCODE
    AND GS. ITEMCODE ='01-01-02-019'
    AND *.
    GM GROUP. GRNNO, SM. ISSUENO, GM. GRNDATE, SM. ISSUEDATE,
    GS. ITEMCODE STOPPED BY GM. GRNDATE, SM. ISSUEDATE;

    Here, I have to select the data in the tables between two named parameters: P_1 and: P_2.
    the column date of IMS_GRNM is named GRNDATE.
    the column date of IMS_ISSUEM is named ISSUEDATE.
    How to set these parameters?

    I think what you need is
    Where table1. Column1 between: p1 and: p2
    and table2. Between Column2: p1 and: p2

  • Storage spaces for different size tables

    Hello

    I have a situation that everyone has probably, so I would go into more detail about this.
    Working with databases with different objectives, a single OLTP and OLAP one another, the two tables with different sizes... some with 1 M, some with 100 M and others with 150 G or more.

    Recommendation of the Oracle, so the suite all storage spaces are created in the form of LMT, but I don't know if I can put something else to optimize performance, such as reading or writing, once the databases have different objectives and therefore with different behaviors.

    If someone could help me how I should give attention, I really appreciate.
    The version of database can be regarded as 10g and 11g.

    Thank you.

    Alex

    No, really no need to worry about direct allocation tablespace in realtion to the performance of the queries. There are some operations such as the allocation of file extensions and tablespace performance impact scope object, but it can be difficult to see this. Just make sure your expandable size of file on the data files extension is large enough so that the next object needing another measure will also not wait as the file expand. With the maximum of a measure in a size auto-allouer tablespace is 64 M, a volume of measure G 1 file would be 16 degrees of object so 15 additional objects may expand (at this size) before a another file extension becomes necessary.

    What to do is determine if you want to count automatic sur-affectation to manage measurement of object allocations or to use uniform extensions so that each measure in the tablespace is the same size. If you use uniform extensions then you must make a choice of the same size for all or separate objects in small object and object of large size tablespaces and use a different scale for each size. Maybe 512K for small and 8 M wide. It's just a matter of how you want to manage your tablespace usage and growth.

    HTH - Mark D Powell.

Maybe you are looking for

  • Satellite L850 - 1 5 does not connect to most of the Web sites

    I have access to the Internet and am connected to my hub, but most sites do not work and have a message 'server not found '. Contacted the network who say that it is a problem with my laptop not the network. Help, please?

  • Error blue screen computer 'INVALID_PROCESS_DETACH_ATTEMPT in Windows XP.

    Original title: upgrade to Windows 7 in Safe Mode? IM currently running XP Media Edition and experiencing a BSOD that says "INVALID_PROCESS_DETACH_ATTEMPT" which produces usually a minute or two, I have to connect to XP. Can I upgrade to Windows 7 in

  • I forgot password welcome screen xp

    original title: POSSIBLE to FIND WELCOME WINXP SP2 LOST PASSWORD? IVE FORGOT SCREENPASSWORD WELCOME TO OEM XP SP2 WITHOUT DISC. ALL SUGGEST?

  • Remove unnecessary programs from MS

    (I) will remove the following MS programs make windows unusable: Silverlight, Mobile, Easy Assist v2, Reader, Internet Explorer 8?(II) IE 8 looks like a tangle that missed... my CPU of multiple problems (e.g. 8.2). So I went back at 7, but get this s

  • BlackBerry Smartphones ICQ

    Does anyone know of an email address or forum or somewhere I could communicate with a REAL PERSON of LIVING on a question on access to ICQ on my BB? I can't find anything except a (very short) list of FAQ. Thanx