Hello I'm having trouble declaring the options in the Summary feature using angular.
Here's a fiddle with the example:
http://jsfiddle.net/0nfz6pax/3/
What am I missing?
Thanks
Hello Tiago,
I assume that you're not fully aware how exactly calculateRenderMode works. There are two rendering modes defining how calculations are performed. They are managed by calculateRenderMode property. This option specifies if the calculation should be made instantly or after the OK button is clicked. If the option is set to "onselect", no OK/Cancel buttons appear in the summaries drop down menu, when check/uncheck summary it’s updated instantly and when we click outside the drop down menu that means we are ready with our choice. When option is set to "okcancelbuttons" when we check/uncheck summaries, they are not calculated, but just selected/unselected. When we click outside the drop down that operation is equal to cancel button click. If you want to apply the selected summaries in this mode, you should click OK button.
So this is how calculateRenderMode option works.
If I can be of further assistance for you, please let me know.
Regards,Tsanna
Hello Tsanna,
Thanks for your response. I was wondering if i could use a custom summaries from selections in the child table from a the hierarchical grid. The custom summaries is working, but the calculate-render-mode="onselect" its not working on the table.
Here's a fiddle with the implementation:
http://jsfiddle.net/0nfz6pax/6/
Please note that column settings option and its children are provided as child tags of the main tag which in this case is the summary feature tag. Complex array options like summaryOperands option should be also provided as child tag of the columnSettings option tag. For your reference I modified your sample, so that it works correctly now: http://jsfiddle.net/0nfz6pax/5/
Here is a link also to our documentation: https://www.igniteui.com/help/using-ignite-ui-with-angularjs
If I can provide you with further assistance, please let me know.