WebGrid Export Subtotals Aggregate

7 replies. Last post: April 16, 2010 2:53 AM by Handy Surya
Tags :
  • New Discussion
  • New Question
  • New Product Feedback

Hi,

I have a question regarding the export on the webgrid. I group the rows by a  column, the groupings contains the default message eg Document Type : Invoice. I want to change this to be a different value. The issue is the same as the issue in this link.

http://www.intersoftpt.com/Community/WebGrid/Remove-column-name-and-ID-from-grouped-column-on-export/

I have done everything  mentioned in the thread as far as I can see. I have added the following code

protected void wgDocuments_InitializePostBack(object sender, ISNet.WebUI.WebGrid.PostbackEventArgs e)

{


    if (wgDocuments.RootTable.GroupedColumns[0] != null)

    {

         wgDocuments.RootTable.GroupedColumns[0].GroupRowValueFormatString = "[value]";

    }

}

I took this to be the solution from what I have read.  This does not solve the issue for me. Am I doing something wrong. If so can you tell me what is wrong? Please read the whole thread as it continues past the checked answer.


Thanks,


Dermot


All times are GMT -5. The time now is 3:46 AM.
Previous Next