Hi Brandon, Are you using something like bootstrap in your code ?
I don't really understand, in your code, you use ng-repeat to build the cells collection right ? But it seems you have just one row ? Maybe you have to place your ng-repeat on the parent (tbody) and build your rows by fetching it. Regards, Benjamin Le mercredi 18 décembre 2013 19:35:55 UTC+1, Brandon Casey a écrit : > > > <https://lh3.googleusercontent.com/-pGESYMYl0Y4/UrHqufzYNpI/AAAAAAAADfs/0WvgoABAjFo/s1600/Capture.JPG> > I am trying to figure out how to highlight a row in a table where I am > using a ng-repeate. I am using AngularJS + Firebase here. > > My current code: > >> >> <table> >> <thead> >> <tr> >> <th class="Attributes">Attribute Set</th> >> <th class="PHY">PHY</th> >> <th class="SPD">SPD</th> >> <th class="STR">STR</th> >> <th class="AGI">AGI</th> >> <th class="PRW">PRW</th> >> <th class="POI">POI</th> >> <th class="INT">INT</th> >> <th class="ARC">ARC</th> >> <th class="PER">PER</th> >> </tr> >> </thead> >> <tbody> >> <tr ng-repeat="(statName, item) in >> refStartingAttributes"> >> <td>{{statName}}</td> >> <td>{{item.PHY}}</td> >> <td>{{item.SPD}}</td> >> <td>{{item.STR}}</td> >> <td>{{item.AGI}}</td> >> <td>{{item.PRW}}</td> >> <td>{{item.POI}}</td> >> <td>{{item.INT}}</td> >> <td>{{item.ARC}}</td> >> <td>{{item.PER}}</td> >> </tbody> >> </table> >> > > -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/groups/opt_out.
