Skip to content
Snippets Groups Projects
Commit 5f27ae16 authored by Kay Ousterhout's avatar Kay Ousterhout
Browse files

[SPARK-4255] Fix incorrect table striping

This commit stripes table rows after hiding some rows, to
ensure that rows are correct striped to alternate white
and grey even when rows are hidden by default.

Author: Kay Ousterhout <kayousterhout@gmail.com>

Closes #3117 from kayousterhout/striping and squashes the following commits:

be6e10a [Kay Ousterhout] [SPARK-4255] Fix incorrect table striping
parent db45f5ad
No related branches found
No related tags found
No related merge requests found
......@@ -39,6 +39,8 @@ $(function() {
var column = "table ." + $(this).attr("name");
$(column).hide();
});
// Stripe table rows after rows have been hidden to ensure correct striping.
stripeTables();
$("input:checkbox").click(function() {
var column = "table ." + $(this).attr("name");
......
......@@ -28,8 +28,3 @@ function stripeTables() {
});
});
}
/* Stripe all tables after pages finish loading. */
$(function() {
stripeTables();
});
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment