Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #109951
    Dark Beccio
    Participant

    Hello,

    I found an issue with the grid component that prevents the filter from adapting to the column’s dataType

    here’s codepen showing the problem.

    https://codepen.io/andreaguarducci/pen/LYvxBmr

    Do u have any suggestion?

    TY

     

    #109957
    Markov
    Keymaster

    Hi,

    The problem here is that the dataSourceSettings property is not set. It should be set and the dataFields in it should be set as well. The dataFields describe the types of the columns. Alternatively, you can use the dataAdapter, too.

    Regards,
    Markov

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

    #109958
    Dark Beccio
    Participant

    Hi,

    Even when using the dataAdapter, there are issues. I have updated the code in my example (including the dataAdapter) and written some additional notes to explain the problem.

    To summarize, when handling large amounts of data, I need to initialize the grids and then load the data into them at a later stage. How can I solve this problem? Please note that I didn’t have any issues until I updated to version 17.0.0; now I’m using version 18.0.0.

    https://codepen.io/andreaguarducci/pen/LYvxBmr

    #109959
    Markov
    Keymaster

    Hi,

    In your code, you create a dataAdapter correctly, then you replace it with an Array i.e you remove the dataAdapter.
    If you want to use dataAdapter, use it everywhere. If you want to bind to an Array, define the dataSourceSettings object and define the dataFields in it.

    Regards,
    Markov

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

    #109965
    Dark Beccio
    Participant

    Hello,

    you mean like this?

    https://codepen.io/andreaguarducci/pen/LYvxBmr

    TY

    #109967
    ivanpeevski
    Participant

    Hi,

     

    Thank you for the feedback! I have opened a work item for that and we will work on resolving this for our next release.

     

    Regards,
    Ivan Peevski

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

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