Skip to content

Commit

Permalink
added some description to custom row example
Browse files Browse the repository at this point in the history
  • Loading branch information
ekokotov committed Jan 14, 2016
1 parent 7b46baa commit c7bd6d6
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions example/partials/custom_rows.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<h2>Rows pattern</h2>

<table object-table
from-url="http://beta.json-generator.com/api/json/get/DXXROxj"
data="exportDataVariable4"
display="10"
headers="Name, Eye color, Age,Balance,Company,Home address,Favorite Fruit"
fields="name,eyeColor,age,balance,company,address,favoriteFruit"
<table object-table
from-url="http://beta.json-generator.com/api/json/get/DXXROxj"
data="exportDataVariable4"
display="10"
headers="Name, Eye color, Age,Balance,Company,Home address,Favorite Fruit"
fields="name,eyeColor,age,balance,company,address,favoriteFruit"
sorting="compound"
>
<tbody>
Expand All @@ -28,12 +28,12 @@ <h2>Rows pattern</h2>
<h3>In template:</h3>
<textarea ui-codemirror ui-codemirror-opts="editorOptions">

<table object-table
from-url="http://beta.json-generator.com/api/json/get/DXXROxj"
data="exportDataVariable"
display="10"
headers="Name, Eye color, Age,Balance,Company,Home address,Favorite Fruit"
fields="name,eyeColor,age,balance,company,address,favoriteFruit"
<table object-table
from-url="http://beta.json-generator.com/api/json/get/DXXROxj"
data="exportDataVariable"
display="10"
headers="Name, Eye color, Age,Balance,Company,Home address,Favorite Fruit"
fields="name,eyeColor,age,balance,company,address,favoriteFruit"
sorting="compound">
<tbody>
<tr>
Expand All @@ -59,10 +59,10 @@ <h4>Warning:</h4>

<h3>Example:</h3>

<table object-table
from-url="http://beta.json-generator.com/api/json/get/DXXROxj"
data="exportDataVariable"
headers="Name, Eye color, Home address, Friends"
<table object-table
from-url="http://beta.json-generator.com/api/json/get/DXXROxj"
data="exportDataVariable"
headers="Name, Eye color, Home address, Friends"
fields="name,eyeColor,address,friends">
<tbody ng-non-bindable>
<tr>
Expand All @@ -72,7 +72,7 @@ <h3>Example:</h3>
</td>
<td>{{::item.address}}</td>
<td>
<span ng-repeat="friend in item.friends" class="label label-info friend">
<span ng-if="item.eyeColor=='blue'" ng-repeat="friend in item.friends" class="label label-info friend">
{{::friend.name}}
</span>
</td>
Expand All @@ -83,10 +83,10 @@ <h3>Example:</h3>
<!-- CODE -->
<h3>In template:</h3>
<textarea ui-codemirror ui-codemirror-opts="editorOptions">
<table object-table
from-url="http://beta.json-generator.com/api/json/get/DXXROxj"
data="exportDataVariable"
headers="Name, Eye color, Home address, Friends"
<table object-table
from-url="http://beta.json-generator.com/api/json/get/DXXROxj"
data="exportDataVariable"
headers="Name, Eye color, Home address, Friends"
fields="name,eyeColor,address,friends">
<tbody ng-non-bindable>
<tr>
Expand All @@ -96,11 +96,11 @@ <h3>In template:</h3>
</td>
<td>{{::item.address}}</td>
<td>
<span ng-repeat="friend in item.friends" class="label label-info friend">
<span g-if="item.eyeColor=='blue'" ng-repeat="friend in item.friends" class="label label-info friend">
{{::friend.name}}
</span>
</td>
</tr>
</tbody>
</table>
</textarea>
</textarea>

0 comments on commit c7bd6d6

Please sign in to comment.