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
265
xamGrid removing/hiding the filler column
posted

Hi,

I am trying to remove the filler column that I see in my grid. In my case I am using the xamgrid as a list and I have one single column that I want to fill in all the space. The only way I don't get the filler column is when I add the grid into a defined width column of the layout grid, but in practice I cannot do that; my grid is part of a user control that needs to expand and the xamgrid inside also needs to expand. I simply want the filler gone.

Thanks for your help,

Maria

Parents
No Data
Reply
  • 29105
    Offline posted

    Hello Mariak,

    The filler column will always be displayed if there is any left over horizontal width. You can not explicitly turn it off, however there are ways you can ensure it does not display. For example:

    Set the columns to have a star width, that way the columns will take up any extra space in the grid.

    Change the width of your grid to be smaller.

    Give your grid infinity width by putting it in a container such as a ScrollViewer with HorizontalScrolling set to auto. However, if you do this, Virtualization will be turned off.

    Let me know if you have any questions. If these methods do not work please provide a mockup screenshot of the area you want removed and I will invetsigate this further for you.

Children