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
920
XamPivotGrid not showing values
posted

Hi,

I created a project that contains an XamPivotGrid that shows values coming from an xml. All worked fine. But when i put this Grid inside a popup and called this popup from another project, the grid stopped showing values. Although its ((FlatDataSource)this.pivotGrid.DataSource).ItemsSource is populated correctly. All i get now is a Grid that has "Drop Row Fields Here" and "Drop Data Items Here". 

Can you please help on how should i fix this?

The button that calls the popup has the code below:

****

avgPopup.preview((DateTime)this.datepicker1.Tag, (DateTime)this.datepicker2.Tag);

avgPopup.Show();

****

and in the preview of the popup i call the function that gets the values from the xml and gives it to the Pivot Grid's Itemsource.

When debugging, the grid doesn't enter its CellControlAttached function anymore.

Please advise,

Thanks

Nazha

Parents
No Data
Reply
  • 12875
    posted

    Hi Nazha,

    Are you defining the columns, rows, measuresand the cube metadata?  Try adding a xamPivotDataSelector and see if you are are to attach to the data and drag the data to the columns and rows.

    This XamPivotGrid and the XamPivotDataSelector should point to the same datasource.

     

Children