Docs
API
  • searching

    Mixed

    Enables filter methods.

    Example

    
    var grid = new FancyGrid({
      width: 690,
      height: 350,
      shadow: false,
      searching: true,
      ...
    });
    
    grid.search('Nick');
    

    Example: List of searching properties

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

    
    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

    
    false