我使用stwe/datataTablebundle
作为我的symfony应用程序。我希望在某些特定列上使用单独的列过滤器,但设置'individual_filterting' => true
会为每列启用过滤器。如何指定列?目前我正在使用css隐藏不需要的列。
$this->options->set(array(
'display_start' => 0,
'defer_loading' => -1,
'dom' => 'lfiprtip',
'length_menu' => array(20, 50, 100, 1000, 10000, '"All"'),
'order_classes' => true,
'order' => array(array(0, 'asc')),
'order_multi' => true,
'page_length' => 50,
'paging_type' => Style::FULL_NUMBERS_PAGINATION,
'renderer' => '',
'scroll_collapse' => false,
'search_delay' => 0,
'state_duration' => 7200,
'stripe_classes' => array(),
'class' => Style::BOOTSTRAP_3_STYLE . ' table-condensed',
'individual_filtering' =>false,
'individual_filtering_position' => 'head',
'use_integration_options' => true,
'force_dom' => true,
));