Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #104725
    Oleg Ilin
    Participant

    Dear friends,
    In your example, the opening of categories occurs without refreshing the entire screen and already open categories.

    https://disk.yandex.ru/i/h9Rwy-FxhqP1qg

    In my application, when opening new categories, the grid is constantly refreshing.

    https://disk.yandex.ru/i/QezLcRZHv-ljUA
    Please advise how to get rid of this.
    Best Regards,
    Oleg Il

    #104727

    Hi,

    This is the default behaviour when the data is loading. Once the data load the spinner disappears and the data is shown.
    You may see the same example here (the data loads 2.5sec): https://codepen.io/svetoslavjqwidgets/pen/zYmoveb

    To avoid this you can load the data without virtualization.

    Best Regards,
    Svetoslav Borislavov

    Smart UI Team
    https://www.htmlelements.com/

    #104732
    Oleg Ilin
    Participant

    Hi Svetoslav,

    What does it mean “without virtualization”?
    My database is very large and I use servers all the time to get data for each category expansion?
    Your example is absolutely correct. It shows an indicator
    at the beginning of the row expand and does not refresh the entire table.
    But unfortunately I can’t make my grid behave like yours.
    I have an indicator in the center of the screen and refresh when a new category expands.
    What tricky miracle works for you?)

    Also, I saw a new parameter “displayLoadingIndicator” not mentioned in the documentation. Where can I find the complete documentation for the components?

    Best Regards,

    Oleg I

    • This reply was modified 1 year, 7 months ago by Oleg Ilin.
    #104734
    Markov
    Keymaster

    Hi Oleg,

    The parameter is documented here: https://www.htmlelements.com/docs/grid-api/. Go to the “appearance” property, expand it and look for displayLoadingIndicator. Also check that you use the latest version & CSS files in your app.

    Regards,
    Markov

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