Check "defer updates" & "update" button default status in (olap , angularJS)

Posted by: m.omar on 22 November 2017, 2:01 am EST

    • Post Options:
    • Link

    Posted 22 November 2017, 2:01 am EST

    Salam Alykom

    I am using wijmo olap [Client Side] via angularJS.

    Once olap pivotpanel & pivotgrid appears in my page ,

    1- I want “defer updates” checkbox checked initially.

    2- I want “Update” button to be enabled initially.

    Thanks.

  • Posted 22 November 2017, 7:50 pm EST

    Hi Omar,

    You may check Defer Updates checkbox by using following code inside updatedView event.

    panel.updatedView.addHandler(function(s,e){
    	if(document.querySelector('[wj-part="chk-defer"]')){
    		document.querySelector('[wj-part="chk-defer"]').click()
    	}
    })
    

    Hope it helps!

    ~Manish

  • Posted 22 November 2017, 9:43 pm EST

    Thanks.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels