beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From al...@apache.org
Subject [beam] branch master updated: add display:block to datatable so that the columns can have various lengths based on the contents in them.
Date Mon, 20 Apr 2020 21:49:50 GMT
This is an automated email from the ASF dual-hosted git repository.

altay pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/master by this push:
     new 2a931a5  add display:block to datatable so that the columns can have various lengths
based on the contents in them.
     new fc8d18a  Merge pull request #11462 from KevinGG/master
2a931a5 is described below

commit 2a931a58606bd3e9985c7d3b607399c007587de5
Author: kevingg <kawaigin@gmail.com>
AuthorDate: Sun Apr 19 12:16:17 2020 -0700

    add display:block to datatable so that the columns can have various lengths based on the
contents in them.
---
 .../apache_beam/runners/interactive/display/pcoll_visualization.py      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sdks/python/apache_beam/runners/interactive/display/pcoll_visualization.py b/sdks/python/apache_beam/runners/interactive/display/pcoll_visualization.py
index d44a9f3..7cc1ebd 100644
--- a/sdks/python/apache_beam/runners/interactive/display/pcoll_visualization.py
+++ b/sdks/python/apache_beam/runners/interactive/display/pcoll_visualization.py
@@ -130,7 +130,7 @@ _DATAFRAME_SCRIPT_TEMPLATE = """
               .draw('full-hold');"""
 _DATAFRAME_PAGINATION_TEMPLATE = _CSS + """
             <link rel="stylesheet" href="https://cdn.datatables.net/1.10.20/css/jquery.dataTables.min.css">
-            <table id="{table_id}" class="display"></table>
+            <table id="{table_id}" class="display" style="display:block"></table>
             <script>
               {script_in_jquery_with_datatable}
             </script>"""


Mime
View raw message