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
190
Using xamGrid with autogenerate set to false issues
posted
I have a grid that I'm trying to create using the XamGrid control. Everything works fine except when I turn AutoGenerateColumns to false, it doesn't load at all. I've triple checked that my object property matches the field name exactly. It still has nothing. Any ideas? Here's my xaml.

<ig:XamGrid x:Name="test" ItemsSource="{Binding Path=MyList, IsAsync=True}" Height="Auto"  MinHeight="150" Width="Auto" MinWidth="500" AutoGenerateColumns="False" >
                    <ig:XamGrid.PagerSettings>
                        <ig:PagerSettings AllowPaging="Top" PageSize="500"/>
                    </ig:XamGrid.PagerSettings>
                    <ig:XamGrid.ColumnLayouts>
                        <ig:ColumnLayout Key="ObjectKey">
                            <ig:ColumnLayout.Columns>
                                <ig:TextColumn x:Name="fieldName" Key="Name" Width="Auto" HeaderText="Person Name"/>
                            </ig:ColumnLayout.Columns>
                        </ig:ColumnLayout>
                    </ig:XamGrid.ColumnLayouts>
                </ig:XamGrid>
Parents
  • 190
    posted

    Can a mod delete this post? The forum threw an error constantly every time I posted this, then suddenly decided to take all my attempts. No idea why.

    (It's still doing it BTW. I'll get an error when I hit post but it's going to go through)

Reply Children
No Data