NF
Tables
Innovative
.
Tech
.
Solutions
.
Examples Documentation Info
Home Examples Documentation Info
Fully outfitted table
Date Result value
01-01-2021 110
02-01-2021 120
03-01-2021 110
04-01-2021 106
05-01-2021 113
06-01-2021 158
07-01-2021 176
08-01-2021 200
09-01-2021 248
10-01-2021 148
11-01-2021 168
12-01-2021 215
13-01-2021 685
14-01-2021 547
15-01-2021 112
16-01-2021 107
17-01-2021 987
18-01-2021 105
19-01-2021 100
<script>
    var tableOptions= {
        tableId: 'table1',
        tableTitle: true,
        tableTitleOptions: { 
            tableTitleValue: 'Daily revenue (K)',
        },
        searchBar: true, 
        pagation: true, 
        pagationLimit: 5, 
        tableStyle: {
            tableBackground: 'white',
            headerBackground: '#457B9D', 
            headerTextColor: 'F1FAEE',
            tableRowTextColor: '#457B9D', 
            pagationButtonTextColor: '#457B9D',
            pagationTextColor: '#457B9D',
            tableShadow: 'rgba(99, 99, 99, 0.2) 0px 2px 8px 0px',
        },
    };
    nfTableFomat(tableOptions);
</script>
Table without any functionality
PositionMovie nameYearIMDB rating
1The Shawshank Redemption19949,2
2The Godfather19729,1
3The Godfather: Part II19749,0
4The Dark Knight20089,0
512 Angry Men19579,0
<script>
    var tableOptions= {
        tableId: 'table2',
        columnFiltering: false,
        colWidth: ['15%', '45%', '20%' , '20%'],
        sortingEnabled: false,
        tableStyle: {
            tableBackground: 'white',
            tableShadow: 'rgba(99, 99, 99, 0.2) 0px 2px 8px 0px',
        },
    };
    nfTableFomat(tableOptions);
</script>
Table with sorting
First nameLast nameemail
DonaldDuckdonald@duck.com
HueyDuckhuey@duck.com
DeweyDuckdewey@duck.com
LouieDucklouie@duck.com
<script>
    var tableOptions= {
        tableId: 'table3',
        columnFiltering: false, 
        tableStyle: {
            tableBackground: 'white',
            tableBorder: '#ee6c4d solid 1px',
            headerBackground: '#ee6c4d',
           headerTextColor: 'e0fbfc',
           tableShadow: 'rgba(99, 99, 99, 0.2) 0px 2px 8px 0px',
        },
    };
    nfTableFomat(tableOptions);
</script>
Table without sorting with filters on columns
First nameLast nameemail
DonaldDuckdonald@duck.com
HueyDuckhuey@duck.com
DeweyDuckdewey@duck.com
LouieDucklouie@duck.com
<script>
    var tableOptions= {
        tableId: 'table3',
        sortingEnabled: false,
        tableStyle: {
            tableBackground: 'white',
            tableBorder: '#ee6c4d solid 1px',
            headerBackground: '#ee6c4d',
           headerTextColor: 'e0fbfc',
           tableShadow: 'rgba(99, 99, 99, 0.2) 0px 2px 8px 0px',
        },
    };
    nfTableFomat(tableOptions);
</script>
Table with inner HTML elements
Default styling 1 with small searchBar
First nameLast nameemail
DonaldDuckdonald@duck.com
HueyDuckhuey@duck.com
DeweyDuckdewey@duck.com
LouieDucklouie@duck.com
Default styling 2 with wide search bar
First nameLast nameemail
DonaldDuckdonald@duck.com
HueyDuckhuey@duck.com
DeweyDuckdewey@duck.com
LouieDucklouie@duck.com
Default styling 3