Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #101070
    davout
    Member
    Up
    0
    Down

    I am struggling to understand how to adapt your  Angular Http example to work with the smart grid virtual paging
    Is there a way to intercept ‘sort’ events and ‘paging’ events so that I can manage the service call with sorting/paging parameters myself?

    #101071
    davout
    Member
    Up
    0
    Down

    The problem is that the “resultCallbackFunction” method is being called before the http service has returned data
     

    #101072
    admin
    Keymaster
    Up
    0
    Down

    Hi davout,
    resultCallbackFunction should be called when you want to call it based on your application’s needs. It is called by your code.
    The DataGrid has ‘sort’ and ‘page’ events. The ‘sort’ and ‘page’ events are documented here: https://www.htmlelements.com/docs/grid-api/.
    As we pointed in a previous communication with you. We suggest you to look at this help tutorial and its implementation.: https://www.htmlelements.com/docs/angular-rxjs/
    Best regards,
    Peter Stoev
    Smart UI Team
    https://www.htmlelements.com/

    #101102
    davout
    Member
    Up
    0
    Down

    Hello,
    The ‘Angular RxJS’ article you reference in the last comment is missing the source code for ‘GetData’
    … can you please include this in the article?

    #101103
    admin
    Keymaster
    Up
    0
    Down

    Hi davout,
    We updated it. Thanks for the feedback.
    Best regards,
    Peter Stoev
    Smart UI Team
    https://www.htmlelements.com/

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.