pivot charting of the webgrid which developed by backend code

1 reply. Last post: December 1, 2009 10:20 PM by Glenn Layaar
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback
caMember

hi,


i have a webgrid which developed from the backend code. In which i have enabled the pivot charting. here my problem is i am not able to select the sum or average etc of the droped field.

there is only one enabled , which is count. The rest all appear as a disabled(grayed in color).


here i am attaching the code that i have used to generate webgrid and pivot charting


 protected void WebGrid1_InitializeLayout(object sender, ISNet.WebUI.WebGrid.LayoutEventArgs e)
    {
        e.Layout.AllowGrouping = ISNet.WebUI.WebGrid.Grouping.Yes;
        e.Layout.AllowFilter = ISNet.WebUI.WebGrid.Filter.Yes;
        e.Layout.AllowExport = ISNet.WebUI.WebGrid.Export.Yes;
        e.Layout.AllowSorting = ISNet.WebUI.WebGrid.Sorting.Yes;
        e.Layout.PagingMode = ISNet.WebUI.WebGrid.PagingMode.VirtualLoad;
        ((ISNet.WebUI.WebGrid.WebGrid)sender).AllowPivotCharting = true;
    }

 

Please let me know the reason.  


thanks and regards


ca

All times are GMT -5. The time now is 12:54 AM.
Previous Next