I am using a data table created mostly with css that I found online. In one of the columns there is a css data attribute "data-title" which is assigned a string.
<td data-title="someString">
When I enter a string, the styling inside the column works as expected. When I try to bind to an objects string, the binding doesn't work like I would expect. I tried
<td data-title="object.someString">
which just displays literal 'object.someString' and I tried
<td data-title="{{object.someString}}">
which displays nothing (blank). Any idea why my binding isn't working here?
CSS:
.responsive-table tbody td[data-title]:before {
content: attr(data-title);
float: left;
font-size: .9em;
color: #565248;
}
@media (min-width: 48em) {
.responsive-table tbody td[data-title]:before {
content: none;
}
}