Docs
API
  • items

    Array

    Providing list of search params.
    This list is used also in tbar search field if defined.

    Example:

    
    var grid = new FancyGrid({
      width: 690,
      height: 350,
      shadow: false,
      searching: {
        items: [{
    	  index: 'name', 
    	  text: 'Name'
    	},{
    	  index: 'price',
    	  text: 'Price'
    	},{
    	  index: 'manager',
    	  text: 'Manager'
    	}] 
      },
      tbar: [{
        type: 'search',
        width: 590,
        emptyText: 'Search by sold cars',
    	paramsMenu: true,
        paramsText: 'Parameters'
      }],
      ...
    });
    
    grid.search('Nick');
    

    Default

    
    undefined