Tagged: ,

This topic contains 3 replies, has 2 voices, and was last updated by Avatar admin 1 year ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #100909
    Avatar
    Tr12
    Participant

    Hi,

    I’m using smart-grid by setting a data source. However, when setting the data source to new data, I have some issues.

    Please see the following code pen link: https://codepen.io/KP-Traeger12/pen/yLeqjVV

    You can see that the table is initially populated with 4 rows. The filter row works correctly.

    However, after you click on the button “Update DataSource” (which generates new data consisting of 500 rows), you can notice the following issues:

    1) The filter row no longer works – it seems to be disabled.

    2) The table still shows only 4 rows even though its page size was set to 20 (and for some reason, the page size selector shows “10”). But as soon as you select a different page size in the selector, the correct number of rows is shown.

     

    Thank you!

    #100912
    Avatar
    admin
    Keymaster

    Hi Tr12

    Thank you for the feedback.

    We will look into that Grid behavior for the next release which will be the last week of the month.

    Best regards,
    Peter

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

    #100915
    Avatar
    Tr12
    Participant

    Hi Peter,

    OK, thank you. In the meantime, is there another way to ensure the pageSize works correctly?

    Currently, I’m trying to set the .pageSize property manually after setting the .dataSource property; however, in that case the pager is not updated and it shows still “10” as size; additionally, when I update the pageSize after updating dataSource, the number of pages in the footer has still the old value, only when you click on one page indicator, they are updated.

    Thank you

    #100917
    Avatar
    admin
    Keymaster

    Hi Tr12,

    We are not sure from where the issue comes. We will have to test and debug that scenario.

    Best regards,
    Peter

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

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.