AliHichem/AliDatatableBundle — pull request #46 by Epilgrim (2013-07-04 08:25:21+00:00)
Title: Event to further configure datatables configuration before initialization

What do you think about adding this event?

The use case is because is need to set some callbacks into the configuration, for example to set some logic in fnServerParams.

For example:
```javascript
$('#table_id').bind('datatables_init', function(id, options){
options.fnServerParams = function ( aoData ) {
aoData.push( { "name" : 'anything', "value": "you may need" } );
}
});
```

if you find it useful, i can make a pull request to configure the event name through the $this->_config['all'] and/or the twig extension. Your call there