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
310
[Urgent] FieldSettings and DataSource
posted

Hello,

Why does it not allow to use both FieldSetting and DataSource at the same time? I'm getting this error ""Can't set the DataSource on a DataPresenter that has items added explicitly through the DataItems Collection "" Any Idea?

        <igDP:XamDataGrid x:Name="dgXamDataGrid"

                                  DataSource="{Binding Entities}"

                                 >

 <igDP:FieldSettings>

(We will put the template here.. but not working)

 </igDP:FieldSettings>

            <igDP:XamDataGrid.FieldLayoutSettings>

                <igDP:FieldLayoutSettings AutoGenerateFields="True"/>

            </igDP:XamDataGrid.FieldLayoutSettings>

        </igDP:XamDataGrid>