Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1365
Horizontal lines extending from right of header row on grid
posted

To accommodate what we want with horizontal scrolling, I turned off AutoFit on a XamDataGrid.  When I do that, the top and bottom lines from the header row extend from the right of the last column as shown in the attached picture.

How can I hide those from showing?

Parents
  • 17475
    Offline posted

    Hello Walter and thank you for posting!

    XamDataGrid fits the available space. When the fields are not wide enough (their widths are set to smaller value) a field that fill the rest of the space is displayed. You can modify this behavior by setting the width of the grid to a smaller value that corresponds to the sum of the widths of all the visible fields. Another approach is to set AutoFitMode of the FieldLayoutSettings to ExtendLastField.
    I hope this is helpful. If you need further assistance, do not hesitate to ask.

Reply Children