You are here

function views_plugin_display_table_rowspan::options_form in Views Table Rowspan 7

Overwrite method options_form().

Overrides views_plugin_style_table::options_form

File

views/plugins/views_plugin_display_table_rowspan.inc, line 30
Views handler display Table Rowspan.

Class

views_plugin_display_table_rowspan
Style plugin to merge duplicate row in table.

Code

function options_form(&$form, &$form_state) {
  parent::options_form($form, $form_state);
  $form['rowspan'] = array(
    '#type' => 'checkbox',
    '#title' => t('Merge rows in table'),
    '#description' => t('Merge rows table that has same value (in a same group) use attribute !url', array(
      '!url' => '<a href="http://www.w3schools.com/tags/att_td_rowspan.asp">rowspan.</a>',
    )),
    '#default_value' => $this->options['rowspan'],
    '#weight' => 0,
  );
}