He,

Thx for all the tips but I dont think that is the problem. I tried to 
create the issue on plunker but everything is working fine 
there: http://plnkr.co/edit/NvkFuA6QwV6oNGJ4iLzz?p=preview

I think my problems is the data array but I dont know what, so here is all 
my code relevant for this and I hope some of you guys can help:

 <div class="row">
    <div class="col-md-12">
        <div class="panel panel-primary">
        <!-- Default panel contents -->
            <div class="panel-heading">
                <i class="fa fa-table fa-3x"></i>
                <div class="panel-header-addon">
                    <form  class="form-inline" role="form">
                        <label for="search" 
class="control-label">Zoeken:</label>
                        <input type="text" class="form-control" 
id="search-table-input" 
                        placeholder="Zoeken..." ng-model="searchText">
                    </form>
                </div>
            </div>
            <!-- Table -->
            <div id="server-overview-container">
            <div class="table-responsive">
                <table id="dataTable" class="table table-striped 
table-hover">
                    <thead>
                        <tr>
                            <th ng-repeat="(key, value) in data[0]" 
repeat-done="fixedTableHeaders()"
                            sort-table-head by="order" reverse="reverse" 
order="'ipv4'">
                            {{ key }} 
                            </th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr ng-repeat="row in data  | orderBy:order:reverse 
| filter:searchText" ng-click="rowClickHandler(row)">               
                            <td ng-repeat="(varName, value) in row">
                            {{ value }}  
                            </td>
                        </tr>
                    </tbody>
                </table>
            </div>
            </div>
        </div>
    </div>
</div>



Op maandag 26 mei 2014 17:02:09 UTC+2 schreef OneOnlyUrl:
>
> I am using a angular directive for sorting my table headers. But it seems 
> that the html cannot reach the variables in my isolated directive scope and 
> I cant seem what i am doing wrong. So i hope one of you guys can help me.
>
> also posted it here: 
> http://stackoverflow.com/questions/23872804/sort-table-header-directive-cant-get-scope-attributes
>
> Can anyone help me? Or see what the issue is?
>
> Thanks!
>

-- 
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/d/optout.

Reply via email to