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
1564
SelectedItems.Records.Count = 0 !!!! With selection !!!!
posted

 Hi,

 I select several lines in my grid and "xdgMedias.SelectedItems.Records.Count" is = 0 !!

 Is it normal ?

I would like to know the number of selected records !

 

My grid definition : 

        <igDP:XamDataGrid x:Name="xdgMedias" Grid.Row="2" DataSource="{Binding Source={StaticResource MusicViewContentDataSource}}" Background="#FF4F4D4C" OverridesDefaultStyle="False" IsGroupByAreaExpanded="False" IsNestedDataDisplayEnabled="True" GroupByAreaLocation="None">
            <igDP:XamDataGrid.FieldLayouts>
                <igDP:FieldLayout>
                    <igDP:FieldLayout.Settings>
                        <igDP:FieldLayoutSettings HighlightAlternateRecords="True" SelectionTypeRecord="Extended" SelectionTypeField="None" SelectionTypeCell="None" AutoGenerateFields="False"/>
                    </igDP:FieldLayout.Settings>
                    <igDP:FieldLayout.Fields>

Parents
No Data
Reply
  • 8576
    Offline posted
    Hi -
     
    The code you supplied got cut off so I wasn't able to see all of it - but I created a grid and applied the settings I could see and it works OK for me - i.e., the count of selected records is correct.  I am using the new 7.2 build (released yesterday).  Which build are you using?  If you are also using build 7.2 please create a complete sample project that reproduces the problem and submit a support request here: http://ko.infragistics.com/gethelp .  If not, please upgrade to the 7.2 version and retest.
     
    Joe Modica
     
     
Children