Search Data Already Displayed in the Grid Versus having the updateUrl Sending a Post Request for New Data Based Upon the Search Criteria?

Hello, 

I have a data grid where it is populated and updates its data every 30 seconds using the updateURL and initial url as seen below:

  <ejs-grid id="activeECNs"
queryCellInfo="RemoveNullDates"
allowPaging="false"
class="row-styling"
allowFiltering="true"
allowSorting="true"
allowTextWrap="true" height="500"
toolbarClick="toolbarClick"
allowExcelExport="true"
rowDataBound="HighlightUserAccessActions"
toolbar="@(new List<string>() {"ExcelExport", "Search"})">
   <e-data-manager url="@Url.Action("UrlActiveGridDS", "BNN")" updateUrl="/BNN/UrlActiveGridDS" adaptor="UrlAdaptor"></e-data-manager>

When using the Search Bar it requests new data from the updateURL, however, is there a way to instruct it only to search(filter) the data already in the grid versus trying to get new data from the updateURL address. Because, I manually call an update on the grid every 30 seconds, so the data is already current and I am trying to not have unneeded calls to refresh the data. For example when not using the UrlAdapter and you specify the dataSource as seen below:
  <ejs-grid id="activeECNs"
queryCellInfo="RemoveNullDates"
allowPaging="false"
class="row-styling"
allowFiltering="true"
allowSorting="true"
allowTextWrap="true" height="500"
toolbarClick="toolbarClick"
dataSource="@Model.ActiveBNNs"

The search bar only filters on the data in the grid.  Is there a way to have this functionality when using the UrlAdaptor? 

1 Reply

RR Rajapandi Ravi Syncfusion Team May 12, 2021 11:45 AM UTC

Hi Mike, 

Greetings from syncfusion support 

Before we start providing solution on your query, we need some information for our clarification. So please share the below details that would be helpful for us to provide better solution. 

1)     Share us your exact requirement scenario with detailed description. 

2)     Please confirm if you are like to Update the data based on your Searched data. Please explain this scenario with brief description. 

3)     If possible, explain your requirement scenario with pictorial representation or video demonstration. 

Regards, 
Rajapandi R 


Loader.
Up arrow icon