Skip to content

Add Jade Template Support #18

@johntom

Description

@johntom

Hi,
I'm trying to use angular-table in a nodejs/jade enviornment followed the documentation and using both css files provided in the demo. The following displays the data but only display a table height of 32.
TIA
John

Jade file
p
#inside
#header
input.search-query(style='width:100px', type='text', ng-model='filterText', placeholder='Filter')

#main-content



    .span8.body-content




        angular-table(model='types',filter-query-model='filterText', default-sort-column='id',class="demoTable", style="padding-bottom: 1px;")
          header-row

            header-column(sortable='true', sort-field-name='id', class="demoHeaderColumn")
                    div(style='display: inline-block;') Id
                    sort-arrow-ascending
                    sort-arrow-descending
            header-column(sortable='true', sort-field-name='name', class="demoHeaderColumn")
                    | Name

            row(on-selected='handleRowSelection(row)', selected-color='#87cefa', even-color='#ffffff', odd-color='#eeeeee')
                    column {{ row.id }}
                    column {{ row.name }}

Html
Html

1GLBI
10ALBI & ALPD
11Appraisal
12Subro
13Subro property
14Surveillance
15Theft
16Collision
17Other
2GLPD
3ALBI
4ALPD
5PIP/NO-FAULT
6WC
7PROP
8GLBI & GLPD
Id
Name

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions