Class BasicTableLayoutKt

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static Unit ,.,.,java.util.List)>BasicTableLayout(Integer rowCount, Integer columnCount, <Error class: unknown class> cellBorderColor, <Error class: unknown class> modifier, <Error class: unknown class> cellBorderWidth, List<List<Function0<Unit>>> rows) A simple table that sizes columns to take as much room as they need.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • BasicTableLayout

         final static Unit ,.,.,java.util.List)>BasicTableLayout(Integer rowCount, Integer columnCount, <Error class: unknown class> cellBorderColor, <Error class: unknown class> modifier, <Error class: unknown class> cellBorderWidth, List<List<Function0<Unit>>> rows)

        A simple table that sizes columns to take as much room as they need. If the horizontal space available is less than what the cells would take, all columns are sized proportionally to their intrinsic width so that they still can fit the available width.

        Cells must only contain one top-level component. If you need your cells to contain more than one, wrap your cell content in a Box, androidx.compose.foundation.layout.Column, androidx.compose.foundation.layout.Row, etc.

        Incoming height constraints are ignored. The table will always take up as much vertical room as it needs. If you want to constrain the table height consider wrapping it in a org.jetbrains.jewel.ui.component.VerticallyScrollableContainer.

        Parameters:
        rowCount - The number of rows this table has.
        columnCount - The number of columns this table has.
        cellBorderColor - The color of the cell borders.
        modifier - Modifier to apply to the table.
        cellBorderWidth - The width of the table's borders.
        rows - The rows that make up the table.