Forum Discussion

jprdynamicapps's avatar
6 years ago

scrolling a custom visual to get more data

I need to add scrolling to get more data as is done in the stock matrix control.

Can this be done using fetchmoredata?  Anyone know of a good example to follow?

TIA

John

2 Replies

  • jppp's avatar
    jppp
    Continued Contributor

    HI jprdynamicapps ,

     

    Yes, you are in control when to call the fetchmoredata logic, so you first identify if there are multiple data pages and if needed load the extra data.

    But the problem is that Power BI returns new rows via the the fetchmoredata method and now first all the first column values and then the second column etc. So theoretically there are cases that the last row of the dataset contains the last value of the first column.

     

    So your you can determine yourself when to call the fetchmoredata, like after scrolling to the latest version, but no you cannot get it per column like the core visuals can do.

     

    -JP