1
0
Fork 0
mirror of https://github.com/koalyptus/TableFilter.git synced 2024-05-03 07:03:33 +02:00
1 1.19 Toolbar
koalyptus edited this page 2017-10-10 13:46:27 +11:00
Property Type Description Remarks Example
toolbar boolean or literal object toolbar at top of the table (default - conditionally activated based on configuration) You can use this option as a literal object too
var tfConfig = { toolbar: true };
// or
var tfConfig = { 
  toolbar: {} 
};
        
container_css_class string Define the css class for the container element (default - 'inf')
var tfConfig = { 
  toolbar: {
    container_css_class: 'my-css-class'
  } 
};
        
left_cont_css_class string Define the css class for the left inner container element (default - 'ldiv')
var tfConfig = { 
  toolbar: {
    left_cont_css_class: 'my-css-class'
  } 
};
        
center_cont_css_class string Define the css class for the middle inner container element (default - 'mdiv')
var tfConfig = { 
  toolbar: {
    center_cont_css_class: 'my-css-class'
  } 
};
        
right_cont_css_class string Define the css class for the right inner container element (default - 'rdiv')
var tfConfig = { 
  toolbar: {
    right_cont_css_class: 'my-css-class'
  } 
};
        
target_id string Specify the id of the external DOM element that will contain the toolbar (default - null) (default - null)
var tfConfig = { 
  toolbar: {
    target_id: 'my-container-id'
  } 
};