Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
395
how to cancel loading from datasource
posted

Hi,

I use the UltraWinGrid. The data come on DataSource.
How can I abort loading data if the user for example clicks on ESC.


THX
Parents
No Data
Reply
  • 469350
    Verified Answer
    Offline posted

    I'm not sure I understand what you mean by "abort loading data". The grid loads the data the data source provides. There's no way to stop it from doing so, once you set the grid's DataSource property. The grid is either bound to the data source or not, it can't load some data and then stop before loading the rest.

    It can load the data on-demand so that it only loads the data that it needs. There's an example of this using the UltraDataSource component called the Virtual Mode Sample. This sample is included in the NetAdvantage SDK with all the other samples.

Children