KB0072 - UDDataGrid expands beyond the size of the screen

KB0072 - UDDataGrid expands beyond the size of the screen

Scope

This article applies to users creating apps within PowerShell Universal and using UDDataGrid. 

Problem

The data grid does not have any defined size. It will expand to the size of its container. This could be elements such as the page itself, a UDPaper or UDCard. If the container does not define static sizes, the data grid can expand the parent component and stretch beyond the limits of the page. 

Solution

To contain large data grids to the size of the page, you can use the boxsizing CSS property on a card or paper. 
  1. New-UDPaper -Elevation 1 -Content {
  2.                #Place grid or content here and it stays within width of screen
  3. } -Style @{
  4.      boxsizing = 'border-box'
  5. }

    • Related Articles

    • KB - 1008 Tax/VAT Exempt at checkout

      Scope In this article you will learn how to make a tax-free purchase at checkout. Problem How do you remove the Tax/VAT on an order? Impact Orders will then need to be refunded for tax if processed without the tax deducted. Resolution Follow the ...
    • KB0023 - Unauthorized Access screen presented after upgrading to PowerShell Universal 3.7.1

      Affected Versions - PowerShell Universal 3.7.0 - PowerShell Universal 3.7.1 Issue A user attempts to access the admin console on a machine that was upgraded and are presented with a Not Authorized screen. Solution 1. Upgrade to PowerShell Universal ...
    • KB0046 - Collecting a Memory Dump

      Purpose The purpose of this document is to provide steps for collecting a memory dump. Occasionally, Ironman Software support may request a memory dump of one or more of the processes involved with the functioning of our software. These memory dumps ...
    • KB0074 - Connecting to PSU API w/Windows Auth

      Scope This article applies only to PSU environments where Windows Authentication[1] is enabled and known to be working[2]. Problem You are not able to interact with the PSU instance using the Invoke-WebRequest PowerShell cmdlet even though logging in ...
    • KB0042 - HTTP Error 500.19 - internal server error 0x8007000d

      Problem When trying to browse your instance of PowerShell Universal (running on IIS under Windows Server via the ZIP install of PowerShell Universal [1] ) you receive HTTP Error 500.19 - Internal Server Error with error code 0x8007000d Cause You may ...