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
System.NullReferenceException
posted

I have a xamGrid and allow AllowGroupByArea="Top". However, when I drag a column header on top to group by (okay so far); then close the group by via "x", I got error System.NullReferenceException.

Can you advise on how to resolve this?

 

 

 

 

 

 

 

 

 

 

 

 

 

 

<

 

 

 

ig:XamGrid x:Name="invoiceGrid" ColumnWidth="*"

 

 

 

AutoGenerateColumns="False" RowSelectorClicked="invoiceGrid_RowSelectorClicked"

 

 

 

ActiveCellChanged

="invoiceGrid_ActiveCellChanged">

 

 

 

 

<ig:XamGrid.ConditionalFormattingSettings

>

 

 

 

 

<ig:ConditionalFormattingSettings AllowConditionalFormatting

="True" />

 

 

 

 

</ig:XamGrid.ConditionalFormattingSettings

>

 

 

 

 

<ig:XamGrid.FilteringSettings

>

 

 

 

 

<ig:FilteringSettings AllowFiltering

="FilterRowTop" />

 

 

 

 

</ig:XamGrid.FilteringSettings

>

 

 

 

 

<ig:XamGrid.GroupBySettings

>

 

 

 

 

<ig:GroupBySettings AllowGroupByArea

="Top" />

 

 

 

 

</ig:XamGrid.GroupBySettings

>

 

 

 

 

<ig:XamGrid.PagerSettings

>

 

 

 

 

<ig:PagerSettings AllowPaging="Bottom" PageSize

="18"/>

 

 

 

 

</ig:XamGrid.PagerSettings

>

Parents Reply
  • 21382
    posted in reply to Ada

     

    Attached is a sample which mocked up what you were doing in the code provided.  I tested it against the lastest Service Release of SL 2010.2 and could not reproduce your results.  Could you look at the sample and modify it to recreate your issue?

Children