Please Refer Image under TExt
Thanks
Can you be specific about the error that gets returned?
Also try this:
If e.Row.Column.Key = "DocumentNbr" Then
e.Row.Description = "Doc #: "
End If
and see if this works... if it does work just add the pieces in one at a time till you find the one that generates the error....
thanks for u r reply , i also try that code , throw run time error
If e.Row.Column.Key = "Batch Nbr" Then
e.Row.Description ="Batch #: " & e.Row.Rows.Item(0).Cells("Batch Nbr").Text & " - " & e.Row.Rows.Item(0).Cells("Jrnl type").Text & " - " & e.Row.Rows.Item(0).Cells("Tran Type").Text
e.Row.Description = "Doc #: " & e.Row.Rows.Item(0).Cells("DocumentNbr").Text & " - " & e.Row.Rows.Item(0).Cells("Tran date").Text & " - " & e.Row.Rows.Item(0).Cells("Customer").Text
i write this code in Initialize groupbyRow event , but throw run time error. because sort order columns have two grouping
In the InitializeGroupByRow event try something like:
(C#)
If (e.Row.Column.Key == "Vendor")
e.Row.Description = "TADA!!!";
You have to test for the column in the row....
thanks for your Reply , yes u r correct , i already write a code in Intialize grouprow event. its works for first group only. i can't able to assign Descrption for second groupby column headers.
Regards
saravanan
I believe that you can set the description in the InitializeGroupByRow event. it would be something like e.Row.Description = "....."