--- views_table_highlighter_plugin_style.inc.orig	2011-09-03 19:51:55.000000000 -0400
+++ views_table_highlighter_plugin_style.inc	2011-09-03 20:29:57.000000000 -0400
@@ -8,12 +8,24 @@
 
     // prepare some sample values for our form, by executing the current view.
     $example_view = $this->view->copy();
+    if ($this->view->current_display)
+      $example_view->set_display($this->view->current_display);
+    else
+      $example_view->init_display();
+    $example_view->pre_execute();
     $example_view->execute();
     $fieldtext = '';
     $fields = (array)$example_view->result[0];
     ksort($fields);
-    foreach($fields as $field => $value)
+    foreach ($fields as $field => $value) {
+      // find first non-null value
+      foreach ($example_view->result as $result) {
+        $value = $result->$field;
+        if ($value)
+          break;
+      }
       $fieldtext .= '<li>$'.$field.' == "'.htmlentities(addslashes($value)).'"</li>';
+    }
     reset($fields);
 
     $form['views_table_highlighter'] = array(
@@ -31,7 +43,7 @@
           .'<table><tr valign="top"><td>'
             .t('Available fields:')
             .'<ul>'.$fieldtext.'</ul>'
-            .t('(Above are sample values from the first row of this view.)')
+            .t('(Above are sample values from the first few rows of this view.)')
           .'</td><td>'
             .t('Available colors:')
             ."<ul><li>'red'</li><li>'yellow'</li><li>'green'</li><li>'cyan'</li><li>'blue'</li><li>'magenta'</li></ul>"
