How to set initial filtering

The below example demonstrates initial application of filter in a textbox and a dropdown:

  1. Either initial filter condition or value or both are defined in column.filter.crules[]

    { title: "Customer Name", dataIndx: "ContactName",
        filter: {               
            crules: [{
                condition: 'begin',  //set initial condition of filter
                value: 'P' //set initial value of filter
            }]
        }
    }