Developer Portal Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 

    Display Flexible amount of items HMI

    Display Flexible amount of items HMI

    ertyman5
    New Poster

    Would like to know if there is a way to display a flexible amount of items (> 20 in rows/columns) in a ControlPlus HMI, or what would be the best method to do so?

    imagem.png

    The original concept is to display 10,20,30, etc. that I need in a specific view and for each of them there is 8 parameters to also display.
    If more detail is needed I can provide. Thanks in advance to anyone who has the time to answer.

    1 REPLY 1

    MarvinW
    Long-established Member
    When is this flexible amount decided? Is this during runtime of the machine or during export/compile time of the project? For the latter there are maybe some more options with export template.

    For the first case, at runtime, I think the grid that you are using is probably the best way. That is, if your 8 parameters fit comfortably into 8 columns. You can link a variable to the Smart Control property VisibleRows (or something like that) to determine how many of your items will be visible. The grid itself can have scroll bars that become available automatically if the number of rows is too big.

    Another approach that I’ve seen and implemented myself is to have a single view with all the information about one item at a time. Then you supply next/previous buttons to navigate through all the items or maybe even a grid with just a single column from which the operator can select the item they want to look at. This method is most useful if your items contain either too much data to fit into columns on a grid control or if the data can’t be displayed in a gridcell, for example charts.
    Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist