Tables

How To

  1. Step 1: Include LambdaEx Framework in Logi Info Application. Include LambdaEx Framework in Logi Info Application.
  2. Step 2: Include pagination css in Logi Info ApplicationInclude pagination css in Logi Info Application

Simple Example

HTML
<table class="table">
  ...
</table>
Logi XML
<DataTable Class="table">
   <DataLayer ID="dlStatic" Type="Static">
      <StaticDataRow id="276" Name="Row Name" col_1="687" col_2="4985" col_3="Yes" col_4=".08" />
   </DataLayer>
   <AutoColumns />
</DataTable>
Tables
Default example
The following is an example of the .table classes used in the main datatable class.
idNamecol_1col_2col_3col_4
276Row Name6874985Yes.08
641Row Name2511234No.40
982Row Name3811647No.31
123Row Name8139816No.72
365Row Name631218Yes.12
872Row Name5189411Yes.86
83Row Name7985676No.67
Small table
The following is an example of the table table-sm class.
col_1col_2col_3col_4idName
6874985Yes.08276Row Name
2511234No.40641Row Name
3811647No.31982Row Name
8139816No.72123Row Name
631218Yes.12365Row Name
5189411Yes.86872Row Name
7985676No.6783Row Name
Dark example

You can also invert the colors—with light text on dark backgrounds—with .table-dark.

col_1col_2col_3col_4idName
6874985Yes.08276Row Name
2511234No.40641Row Name
3811647No.31982Row Name
8139816No.72123Row Name
631218Yes.12365Row Name
5189411Yes.86872Row Name
7985676No.6783Row Name
Striped example
The following is an example of the table table-striped class.
col_1col_2col_3col_4idName
6874985Yes.08276Row Name
2511234No.40641Row Name
3811647No.31982Row Name
8139816No.72123Row Name
631218Yes.12365Row Name
5189411Yes.86872Row Name
7985676No.6783Row Name
Bordered example
The following is an example of the table table-bordered class.
col_1col_2col_3col_4idName
6874985Yes.08276Row Name
2511234No.40641Row Name
3811647No.31982Row Name
8139816No.72123Row Name
631218Yes.12365Row Name
5189411Yes.86872Row Name
7985676No.6783Row Name
Hover example
The following is an example of the table table-hover class.
col_1col_2col_3col_4idName
6874985Yes.08276Row Name
2511234No.40641Row Name
3811647No.31982Row Name
8139816No.72123Row Name
631218Yes.12365Row Name
5189411Yes.86872Row Name
7985676No.6783Row Name
Standard Table With Row Colors
The following is an example of the .table-active class used on a table row and table cell.
Row 1 is using the .table-active class
Row 1 is using the .table-success class
Row 1 is using the .table-warning class
Row 1 is using the .table-danger class
Row 1 is using the .table-info class
Row 1 is using the .table-primary class
Row 1 is using the .table-light class
Row 1 is using the .table-dark class
Column class .table-activeColumn class .table-successColumn class .table-warningColumn class .table-dangerColumn class .table-infoColumn class .table-primaryColumn class .table-lightColumn class .table-dark
Striped Dark example

You can also invert the colors—with light text on dark backgrounds—with .table-dark.

col_1col_2col_3col_4idName
6874985Yes.08276Row Name
2511234No.40641Row Name
3811647No.31982Row Name
8139816No.72123Row Name
631218Yes.12365Row Name
5189411Yes.86872Row Name
7985676No.6783Row Name
Table Responsive
Example
Create responsive tables by wrapping any .table in .table-responsive to make them scroll horizontally on small devices (under 768px). When viewing on anything larger than 768px wide, you will not see any difference in these tables.
idNamecol_1col_2col_3col_4
276Row Name6874985Yes.08
641Row Name2511234No.40
982Row Name3811647No.31
123Row Name8139816No.72
365Row Name631218Yes.12
872Row Name5189411Yes.86
83Row Name7985676No.67
Pagination
Default Pagination

Add new style to the interactive paging element.

1 2 3 4 5 6 7 8 >  >>
ProductIDProduct NameQuantity Per UnitPriceUnits In StockUnits On OrderReorder Level
1Chai10 boxes x 20 bags$18.0039010
2Chang24 - 12 oz bottles$19.00174025
3Aniseed Syrup12 - 550 ml bottles$10.00137025
4Chef Anton's Cajun Seasoning48 - 6 oz jars$22.005300
5Chef Anton's Gumbo Mix36 boxes$21.35000
6Grandma's Boysenberry Spread12 - 8 oz jars$25.00120025
7Uncle Bob's Organic Dried Pears12 - 1 lb pkgs.$30.0015010
8Northwoods Cranberry Sauce12 - 12 oz jars$40.00600
9Mishi Kobe Niku18 - 500 g pkgs.$97.002900
10Ikura12 - 200 ml jars$31.003100