IDE: SearchPanel



Toolbar data search panel, connected to Ext.data.Store, filters and searches through data in two modes:

  • local filtering;
  • filtering by means of the server component.

Main parameters:

  • store Ext.data.Store - data storage;
  • fieldNames array - an array of the model field names, which are being searched through;
  • local boolean - operation mode, is false by default (server request);
  • searchParam string - parameter name while transferring the search string to the server.