telerik winform radgridview gridviewsummaryitem

时间:2019-05-24 05:32:10

标签: vb.net telerik radgridview

我在telerik winform radgridview中工作,我正在尝试通过gridviewsummreyitem添加摘要。我想在添加摘要的同时添加一些计算 i want output like this      Dim summaryltemName作为新Gridviewsummaryitem(“ ItemName”,“ Total:”,GridAggregateFunction.var)     Dim summaryQty as New Gridviewsummaryitem(“ Qty”,“ {0}”,GridAggregateFunction.sum)     Dim summaryunitsP as New GridviewsummaryitemCunit sP“,” {0}“,GridAggregateFunction.sum)     Dim summaryTotalsP作为新的Gridviewsummaryitem(“ Total Item sP”,“ {0}”,GridAggregateFunction.sum)  Dim summaryManpowerQty as New Gridviewsummaryitem(“ manpowerQty”,“ {0}”,GridAggregateFunction.sum) Dim summaryManpowersP作为新的Gridviewsummaryitem(“ manpowersP”,“ {0}”,GridAggregateFunction.sum) Dim summaryotherQty作为新的Gridviewsummaryitem(“ otherQty”,“ {0}”,GridAggregateFunction.sum)     Dim summaryothersP作为新的Gridviewsummaryitem(“ othersr,” {0}“,GridAggregateFunction.sum)     Dim summarysP作为新的Gridviewsummaryitem(“ Total sP”,“ {0}”,GridAggregateFunction.sum)

Dim  Locationcountvalue As  New Gridviewsummaryitem("Locationcount",   "{0}",  GridAggregateFunction.Avg)
Dim  summaryitemNamec As  New Gridviewsummaryitem("Itemcode",   "Total  :"  , GridAggregateFunction.var) 

将LocationCountC用作新的GridViewSummaryItem(“ ItemName”,“ Count:”,GridAg9regateFunction.Var)     Dim summaryQtyC作为新的GridViewSummaryItem(“ Qty”,“ TO”,GridAggre9ateFunction.Sum)     昏暗的summaryUnitSPC作为新的GridViewSummaryItem('Unit 5P“,” {O}“,GridAggregateFunction.sum)     昏暗summaryTotalSPC作为新的GridViewSummaryItem(“ Total Item 5P”,“ TO”,GridAggregateFunction.Sum)  昏暗的SummaryManpowerQtyC作为新的GridViewSummaryItem(“ ManpowerQty”,“ TOI”,GridAggregateFunction.Sum) Dim summaryManpowersPC作为新的GridViewSummaryItem(“ ManpowerSP”,“ {4}”,GridAggregateFunction.Sum) Dim summaryOtherQtyC作为新的GridViewSummaryItem(“ OtherQty”,“ {4}”,GridAggregateFunction.Sum)     Dim summaryothersPc作为新的Gridviewsummaryitem(“ othersP”,“ TO”,GridAggregateFunction.sum)     Dim summarysPc作为新的Gridviewsummaryitem(“ Total SP”,“ 01”,GridAggregateFunction.sum)

Dim  summaryRowitem As  New GridviewsummaryRowitem(New Gridviewsummaryitem()    {summaryitemName,  summaryQty,  summaryunitsP,  summaryTotalsP, summarymanpowerQty,  summaryManpowersP,  summaryotherQty,  summaryothersP,  summarysP})

Dim  summaryPowitemc As  New GridviewsummaryRowitem(New Gridviewsummaryitem()   {summaryltemNamec,  Locationcountc,  summaryQtyc,  summaryunitsPc, summaryTotalsPC,  summarymanpowerQtyc,  summarymanpowersPc,  summaryotherQtyc,  summaryothersPc,  summarysPc})

PGdview.summaryPowsBottom.Add(summaryRowitem)
PGdview.summaryPowsBottom.Add(summaryRowitemc)

我要在图像的最后一行添加摘要。

0 个答案:

没有答案