File tree Expand file tree Collapse file tree 3 files changed +288
-273
lines changed
generated-sources/src/main/kotlin/org/jetbrains/kotlinx/dataframe/io
src/main/kotlin/org/jetbrains/kotlinx/dataframe/io
examples/notebooks/netflix Expand file tree Collapse file tree 3 files changed +288
-273
lines changed Original file line number Diff line number Diff line change @@ -220,7 +220,7 @@ public fun AnyFrame.toStaticHtml(
220
220
// properly laid out with borders.
221
221
fun StringBuilder.emitHeader () = emitTag(" thead" ) {
222
222
for (row in colGrid) {
223
- emitTag(" tr" ) {
223
+ emitTag(" tr" , " align= \" left \" " ) {
224
224
for ((j, col) in row.withIndex()) {
225
225
val colBorders = col.borders.toMutableSet()
226
226
// check if the next cell has a left border, and if so, add a right border to this cell
@@ -267,7 +267,7 @@ public fun AnyFrame.toStaticHtml(
267
267
}
268
268
269
269
// Adds a single row to the html. This row uses the flattened columns to get them displayed non-collapsed.
270
- fun StringBuilder.emitRow (row : AnyRow ) = emitTag(" tr" ) {
270
+ fun StringBuilder.emitRow (row : AnyRow ) = emitTag(" tr" , " align= \" right \" " ) {
271
271
for ((i, col) in flattenedCols.withIndex()) {
272
272
val border = borders[i].toMutableSet()
273
273
// check if the next cell has a left border, and if so, add a right border to this cell
Original file line number Diff line number Diff line change @@ -220,7 +220,7 @@ public fun AnyFrame.toStaticHtml(
220
220
// properly laid out with borders.
221
221
fun StringBuilder.emitHeader () = emitTag(" thead" ) {
222
222
for (row in colGrid) {
223
- emitTag(" tr" ) {
223
+ emitTag(" tr" , " align= \" left \" " ) {
224
224
for ((j, col) in row.withIndex()) {
225
225
val colBorders = col.borders.toMutableSet()
226
226
// check if the next cell has a left border, and if so, add a right border to this cell
@@ -267,7 +267,7 @@ public fun AnyFrame.toStaticHtml(
267
267
}
268
268
269
269
// Adds a single row to the html. This row uses the flattened columns to get them displayed non-collapsed.
270
- fun StringBuilder.emitRow (row : AnyRow ) = emitTag(" tr" ) {
270
+ fun StringBuilder.emitRow (row : AnyRow ) = emitTag(" tr" , " align= \" right \" " ) {
271
271
for ((i, col) in flattenedCols.withIndex()) {
272
272
val border = borders[i].toMutableSet()
273
273
// check if the next cell has a left border, and if so, add a right border to this cell
You can’t perform that action at this time.
0 commit comments