Hi Community, 

I have a web screen, in that there are some form fields and two buttons "Search" and "Cancel". 

1) form fields are for providing search condition's data 

2) Search button is for searching the data 

3) Cancel button stops the search 


The problem what I am facing is 

1) after entering the data in the form fields, when i click the search button, the application start searching the data from the database. The data is huge, consider some 5k to 10k rows. It takes time while loading data and displaying it on the screen. Meanwhile loading the data when I click the "Cancel" button, It wont stop the searching immediately. It stops after the loading and displaying the data on the screen. 


Is there anyway to stop the data loading immediately after the cancel button click?