Can you programmatically change the width of columns in a table control\indicator

Is it possible to programmatically change the width of columns in a table control\indicator ie to fit to width of the data or in my case the header information.

Create a property node (or reference) and use the 'Active Cell' property to select which column you want to change and then use the 'Cell size'--> 'Width' property to change the size.
"There is a God shaped vacuum in the heart of every man which cannot be filled by any created thing, but only by God, the Creator, made known through Jesus." - Blaise Pascal
Attachments:
table.vi ‏33 KB

Similar Messages

  • Can you switch of the proposition of values in a table control ?

    Hi,
    i have a table control .  I can fill in 1 column with data .  When i use the program he always open a dropdown (or something like that) with the values i used before.  This is very annoying in my transaction because it are numbers i have to edit and it's not really helpful to see all of the values i did use in the past ... can i switch this of ?
    thx a lot!
    Helga

    hi Helga,
    This is related to the Front-end settings.
    Please follow the instructions below, to swtich-off history:
    1->Press <b>ALT+F12</b> (or the last button in the application toolbar [customizing of local layout]).
    2->choose <b>Options</b>
    3->goto <b>Local Data</b> tab (third tab)
    4->select <b>OFF</b> radio button in the <b>History frame</b> (first frame)
    5->Click <b>Apply</b>, <b>OK</b>..
    Now try the transaction..you will feel the change.
    Hope this helps,
    Sajan Joseph.

  • Can you programmatically change the iView Title?

    Hi,
    I have a custom iView, and a requirement is to have the iView tray title changed depending on the content shown.
    Is it possible to have the iView Title changed from the custom iView code?

    Hi,
    Check this code:
    Just have these two methods and use the setPCDContextTitle() method
    public static void setPCDContextTitle(
            String currentPcdLocation,
            Locale locale,
            IUser user,
            String title)
            throws NamingException, PrivilegedActionException {
            IPcdUtils pcdUtils = PcdAccess.getPcdUtils();
            IPcdAttribute basePcdAttribute =
                pcdUtils.createPcdAttribute(PcdAttributeValueType.TEXT, IAttrPcmGeneral.ATTRIBUTE_TITLE);
            basePcdAttribute.set(locale, title);
            IPcdAttributes basePcdAttributes = pcdUtils.createPcdAttributes();
            basePcdAttributes.put((Attribute) basePcdAttribute);
            PcmAdminBase adminBase =
                (PcmAdminBase) getPCDContext(currentPcdLocation, PcmConstants.ASPECT_ADMINISTRATION, user);
            IPcdContext context = adminBase.getPcdContext();
            context.modifyAttributes("", DirContext.ADD_ATTRIBUTE, basePcdAttributes);
        public static Object getPCDContext(String currentPcdLocation, String aspect, IUser user)
            throws NamingException {
            Context pcdContext;
            Object currentObject = null;
            Hashtable env = new Hashtable();
            env.put(Context.INITIAL_CONTEXT_FACTORY, IPcdContext.PCD_INITIAL_CONTEXT_FACTORY);
            env.put(Context.SECURITY_PRINCIPAL, user);
            env.put(Constants.REQUESTED_ASPECT, aspect);
            try {
                pcdContext = new InitialContext(env);
            } catch (NamingException e) {
                logger.severe(e, "Error in PCDPath");
                throw e;
            try {
                currentObject = pcdContext.lookup(currentPcdLocation);
            } catch (NamingException e) {
                logger.severe(e, "Error in PCDPath");
                throw e;
            return currentObject;
    Greetings,
    Praveen Gudapati
    p.s. Points are always welcome for helpful answers

  • How to programmatically change the width of a graph?

    How can I programmatically change the width of a Waveform Graph or Waveform Chart? When I create an implicit property node for a graph or chart, it is read-only. Changing the plot bounds worked in earlier versions of LabVIEW, but not anymore.
    Solved!
    Go to Solution.

    It works for me in LV2013 but I'm using the Plot Area : Size : Width property.
    Using LabVIEW: 7.1.1, 8.5.1 & 2013

  • Can you programmatically change properties of the Detailed Navigation?

    Is there an SAP EP6.0 API call to allow one to programmatically change the width of the Detailed Navigation, or programmatically hide or unhide it?  I realize that this can be preset, but I am interested in dynamically changing these values.
    Thanks,
    John

    Hi!
    If you look to the sourceCode of your EP (rigthClick->show source) you'll see that some JavaScriptFiles are loaded. One of them is called:
    "WAandNavPanel.js"
    Inside this file are some nice functions like "collapsePanel()" and so on. I didn't try, but perhaps you can use them or they can show you the right way.
    http://<host>:<port>/irj/portalapps/com.sap.portal.layouts.framework/scripts/WAandNavPanel.js
    Regards,
    Christian

  • How do I change the width of column "rating"

    all columns are variable in widht. but not "rating" (stars). How do I change the width of column "rating"?

    Hi Emkaha,
    By the way the column "last played" can be reduced to a size which display the date "incorrect" as well (you'll see only the first number of the date which wouldn't make any sense too, but it is possible).
    True, but if you see date of "1" you will know you are not seeing a full date.  If you see 2 stars, it is a valid value, even if it is not correct.  At least, that is my supposition about why it is designed the way it is.
    Having said that, the extra width in the German version -- the Wertung column is wider than needed for 5 stars -- does seem odd.  In the English version for Windows PC, the Rating width is just enough for 5 stars.  You can report this to Apple via the iTunes Feedback page.

  • Sharepoint 2013 changing the width of columns in a list

    Hi, 
    I would like to know if it is possible to change the width of columns in a custom list in sharepoint 2013. I have tried to load it in Sharepoint Designer 2010, but it will not allow me. Therefore, I can only use SPD 2013.
    Thanks

    Hi Jemelia,
    According to your description, my understanding is that you want to change the width of a column in a custom list in SharePoint 2013.
    Per my test, if we edit the AllItem view of the list in SharePoint Designer 2013, we cannot get the design tab to customize the XSLT of the list and change the width of the column.
    I recommend to create a new page, and then add a data view web part of the corresponding list to the page. After that, we can get the design tab to customize the XSLT of the list.
    Here are the detailed steps:
    In the newly created page with the added data view web part of the list, select the data view web part  and then click on “Customize XSLT” > “Customize Entire View” on design tab in the menu.
    Search for the fieldname for example in my case “Column” then you will get template like “dvt_headerfield. Column”. In this template there is a attribute name like <xsl:attribute name="style">
    in this just add the width size like following.
    <xsl:attribute name="style">padding:0 !important;border:0 !important; width: 600px</xsl:attribute>
      3. Search for the template  “FieldRef_printTableCell_EcbAllowed.Column”. In this template you will see “<td>” and you can add style to change its width like following.
    <td style=" width:300px">
    We can also use jquery to change the width of the column in SharePoint 2013:
          1. Create a txt file containing the code below:
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js"></script>
    <script type="text/javascript">
    $(document).ready(function() {
    $("TH.ms-vh2:contains('Title')").css("width", "300px"); //You can change the column to be the column you want to change the width, Title in the code for example.
    </script>
           2. Upload the txt file to a library in SharePoint.
           3. Add a Content Editor in the page where the list exists, and then edit the web part.
           4. In Content Link, type in the URL of the txt file in SharePoint, like
    http://server/site/library/file.txt.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Changing the order of columns in a table

    Can anyone tell me how to change the order of column in a table.
    I want a new column to be added in a table in 2nd position.
    Is there any way out for it?

    1) Does this have something to do with security? If not, it really ought to be posted in a more appropriate forum (Database - General for example).
    2) Why? If you care about the order of columns in a table, you're almost certainly doing something wrong. You can control the order of columns in a view, however, so you can put a view layer on top of the table to present the columns in a friendly fashion.
    3) Not without recreating the table. You can use the DBMS_REDEFINITION package to recreate the table with zero or minimal downtime but behind the scenes, you're really just creating a new table, copying the data over, dropping the old table, and renaming the new table to use the old table's name. DBMS_REDEFINITION does some extra work to track changes so that the original table can be available until the last possible moment.
    Justin

  • How can I change the width of columns in (e.g.) the week view in Thunderbird / Lightning?

    As it currently displays, the Lightning display of a week doesn't fit in the window, so I'm forever scrolling left and right. I'd like to reduce the width of columns so that all 6 or 7 days (depending on whether it's a work week or full week) can be displayed within the window's width, without scrolling. There seems to be no standard way to configure this to happen.
    I have the calendar pane on the left reduced to its narrowest (I still need this for navigation, so I can't just get rid of it).
    I have tried zooming out, but all this does is reduce the height of events etc. within the columns, it does not affect the width of the columns.
    Thanks.

    While they may auto adjust to what it thinks is a correct width, far too often it allocates way too much room and that causes lists with 4 columns to be much longer than they need to be and without the ability to adjust them, lists look strange.
    http://twitpic.com/23ro09/full is an example of the first column having been allocated too much room.
    Denzel

  • How do I keep a table the same size but change the width of columns?

    I know this is probably a really stupid question. But after looking online and at the table palette... I still can't figure it out! In Quark, I can "maintain the geometry" of a table by clicking a box. That way, I can change the width or height of rows and columns... without changing the overall size of the table itself. How do I lock down the overall size of a table in InDesign? Thanks...
    Julie

    @Julie – you can change column width by alt + shift + dragging left or right cell sides without changing the overall size of the table.
    For other table goodies see:
    http://indesignsecrets.com/18-handy-table-shortcuts.php
    Hope that helps!
    Uwe

  • How can I programmatically change the fill color Settings of the Cwslide ActiveX Controls

    In design mode (Visual Studio 6.0),I want to programmatically change the fill color in properties of  cwslide  ActiveX Controls.what's the command?
    Attachments:
    cwslide.JPG ‏11 KB

    First, if you want to start getting beyond the basics with DAQ, you are going to have to stop using the DAQ assistant and do it with lower level DAQmx VI's.  There are hundreds of examples in the example finder.  You can even right click on the DAQ assistant and select open front panel.  That will create a subVI that you can open and see what is going on behind the scenes.  Do it.  I think you'll find the DAQ task is being recreated on each (though I'm not 100% of how the settings are established or maintained in each section of that subVI).
    The second problem is you have a bit of a race condition on iteration 0.  Those two DAQ property nodes are running at the same time.  So when you read the AI.Max, it may be happening before or after the AI.Max is set in your case structure.
    Third, make sure you wire up your error wires.

  • Can I Programmatically Change the Active Group on a Hypertrend in DSC?

    I would like to know how to programmatically change the active group of a hypertrend in Labview DSC.  I saw a link which said it can be done in Lookout.  But in the DSC module, the active group is read only.
    I know of a hard way to do it.  I could save the hypertrend settings as xmlSettings to a temporary file.  The active group is one of the settings.  I could then change the active group in this text file to point to the new group and then reload the settings.  But this is not a clean way of dong it.
    Anyone know if there is a easy way?
    Solved!
    Go to Solution.

    I found a way to do it but its not very clean.  I dont know why there is not a function to change the current group.
    Here is how I did it.

  • How can you add/change the currency rate in spro?

    Hi all,
    you can add a new currency code by going to spro --- general settings --- check currency codes
    for example: PERU ---> PEN
    But, how can we add/change the currency rate PEN in spro?
    for example: Peruvian Nuevo Sol     = 4,3567619
    Is it still in customizing? And if so, where can i find it?
    Many thanks in advance.
    Kind regards,
    Pamela.

    Hi Aman,
    I have entered the field to add the new currency rate.
    But the system doesn't want to valid my new rate.
    I get the following error message:
    "Input should be in the form ._,____ "
    Do you know how to override that command?
    Thanks.
    Regards,
    Pamela

  • How to change the width of column guide itself?

    i'm doing a trifold brochure and set it up that way in layout.  the space between the column guides (represented by the thin purple lines) is too narrow.  i want to make it wider.  i thought that that space was the "gutter" but when i change the gutter from the default to .25" nothing changes in the page.  i would expect the thin purple lines to more further apart.  am i adjusting the wrong thing or what? thank you!

    The guides themselves don't really do anything. They are simply visual cues that you as the designer can use or ignore. To get the actual column gutters to change you need to go into "text frame options". Use Command-B (Mac) or Control-B (PC) or right click to access contextual menus and choose text frame options from a list. Once the dialog pops up, you can change the gutters. If you want the actual gutters and the guides to match, you'll also have to edit the guides. You can do that under the layout menu, "margins and guides."
    Hope that helps

  • How can I programmatically change the colour of tab pages? If not, when?

    I have found that in LabVIEW 6.0.2 the "Dialog" tab control cannot be coloured, but the other type of tab control one can be coloured by the paintbrush tool. I cannot find any property node to programmtically set the colour of the enitre tab control or individual pages. When will these properties be available in LabVIEW?

    The dialog controls and indicators are designed
    specifically for use in dialog boxes. These controls inherit their color from the colors you set in Control Panel >> Display. Because of this you will not be able to programmatically change their color.
    Chris_Mitchell
    Product Development Engineer
    Certified LabVIEW Architect

Maybe you are looking for

  • JPG files unreadable in cover flow and preview but can be read in quicktime

    After upgrading to 10.5 some jpg files (canon 30D shots) can not be shown in cover flow or preview. Also the files will not import in iPhoto (import hangs). The files can be read with quicktime. If I press 'get info' for the folder that contains the

  • Mac software for Cisco Aironet 340

    I have a Cisco Aironet 340 PCMCIA card that I want to use with an old PowerBook. But I can't find the download for the Mac software for this card. This page tells me to go to "http://www.cisco.com/pcgi-bin/tablebuild.pl/aironet-utils-mac." but it jus

  • Events + Message Data Templates

    I have defined my own versions of the events TaskCreated and TaskComplete in which I specify the XSD Event Message Template so that I can pass "complex" information. In my event thrower, I ... * setup an event data map to pass my process instance id

  • Connect COMTI server with java

    Hi everybody.. I'm here, because i'm trying to find a way to connect java with a COMTI server. If there are any could you give me a simple example of how to do this?? Thanks in advance.

  • IDX2 - Communication error: ''

    Hello everybody, I have a problem with the metadata import of one IDoc. When I try to import it via the idx2, I got a 'Communication error: ' 'Message no. IDOC_METADATA407' My colleague told me, that this special IDoc was modificated, maybe this is t