This is a migrated thread and some comments may be shown as answers.

New Question: Is there a way to create calculated item programmatically?

2 Answers 56 Views
PivotGrid
This is a migrated thread and some comments may be shown as answers.
Tim
Top achievements
Rank 1
Tim asked on 07 Jul 2014, 09:45 AM
Dear Telerik,

Is there a way to create calculated item programmatically?

The situation is that I have a series of e.GroupName.ToString() calculation cases in the ItemNeedCalculation event, however, being unable to access hide/show visibility of one of the fields, I am thinking of using a check box to generate such calculated item programmatically. Or else is there any better solution to my original purposes to hide calculated item?

Sorry for multiple questions, but I couldn't find enough information regarding calculated item. Much Appreciated!

Best regards.

2 Answers, 1 is accepted

Sort by
0
Tim
Top achievements
Rank 1
answered on 07 Jul 2014, 04:17 PM
How to create Calculated Item programmatically or hide/show calculated field on events? Thanks.
0
Kostadin
Telerik team
answered on 10 Jul 2014, 07:19 AM
Hello Tim,

Thank you for contacting us.

A possible solution is to use a GridCalculatedColumn to display a calculation value between the fields. Please check out the following help article for additional information.

Regards,
Kostadin
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
PivotGrid
Asked by
Tim
Top achievements
Rank 1
Answers by
Tim
Top achievements
Rank 1
Kostadin
Telerik team
Share this question
or