Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Angular question
Message
 
 
To
17/06/2014 17:30:13
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
General information
Forum:
Javascript
Category:
Other
Miscellaneous
Thread ID:
01601977
Message ID:
01602015
Views:
42
>>I found the following directive searchTableHeader.html:
>>
>>
>>
>><tr style='-moz-user-select: none; -webkit-user-select: none; -ms-user-select:none; user-select:none;'>
>>    <th ng-repeat="column in table.columns" ng-click="sort(column)">
>>        {{ column.name }}
>>        <span class="pull-right" href="#" ng-show="column.name === table.sort">
>>            <i ng-class="{'icon-chevron-down': table.dir === 'asc', 'icon-chevron-up': table.dir === 'desc'}"></i>
>>        </span>
>>    </th>
>></tr>
>>
>>
>>Do you know how can I adjust it to be able to use my own text for description? Or at least in case the name == 'descrip' show 'Description'
>>?
>
>Replace {{ column.name }} with what you want?

This is a directive. It is used everywhere. Obviously I can not just change it. It needs to be something clever to work for all cases.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform