DataTableObject

 

Parameters

  • identifier = string
  • settings = array()
  • responsive = boolean

 

Functions

  • set_dom ( new_dom )
  • set_initComplete ( function )
  • set_html_attribute ( attribute, value )
  • set_order ( order_properties )
  • unset_order ()
  • set_select ( select_properties)
  • set_language ( language_properties) 
  • set_pageLenght ( new_lenght )
  • set_rowId (data_point)
  • set_table_title (html_object)
  • set_data_table_date ( rows)
  • get_initComplete()
  • get_table_name()
  • get_table_id()
  • add_button()
  • add_column()
  • add_new_action()
  • add_element_to_table_menu()
  • add_script_object()
  • get_template()
new DataTableObject( $identifier, $settings, $responsive );

Usage

 

$data_table = new DataTableObject( "my_datatable", $dataTable_settings, true );

data_table->get_template();

Output

 

<!--BAAAAAM -->
0
    0
    Your Cart
    Your cart is emptyReturn to Shop