How to customize flexgrid commit function

Posted by: 1728884346 on 11 September 2018, 12:22 am EST

    • Post Options:
    • Link

    Posted 11 September 2018, 12:22 am EST

    Hi,

    may i know is possible customize flexgrid commit function?

    currently when call commit(), it will show “Loading” inside flexgrid.

    how to make commit whole flow (Commit Data - Refresh Data) as ajax call?

    because when ajax call process, we have customize some function.

  • Posted 11 September 2018, 5:53 pm EST

    Hi,

    i have achieve this by following code, if any advise, please let me know. thanks a lot.

    grid.collectionView.beginQuery.addHandler(function () {

    showLoading(); //my function to display something

    })

    grid.collectionView.endQuery.addHandler(function () {

    removeLoading(); //my function to remove display

    })

  • Posted 12 September 2018, 2:41 am EST

    Hi,

    We are glad to know that you are able to resolve your issue.

    If you are referring to Batch Edit/Remote BIndAjax Call, the method is OK to achieve your requirement.

    And, if you are referring to Ajax Data binding as the documentation,

    http://help.grapecity.com/componentone/NetHelp/c1mvchelpers/webframe.html#AjaxBinding.html,

    you may use Ajax request method for this.

    ~Manish

Need extra support?

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

Learn More

Forum Channels