ngtable如何删除标题居中

时间:2015-04-03 17:24:02

标签: angularjs ngtable

我正在尝试使用ngTable,我发现将标题列放在midle标准中是很难看的...我们如何将标题放在左边,就像行的文本一样?

这是html代码:

        <table ng-table class="table">
            <tr ng-repeat="survey in vm.surveys">
                <td data-title="'@L("Name")'">{{survey.name}}</td>
                <td data-title="'@L("CreatedDate")'">{{survey.creationTime}}</td>
                <td data-title="'@L("Creator")'">{{survey.creatorUser}}</td>
            </tr>
        </table>

1 个答案:

答案 0 :(得分:0)

只需添加以下CSS规则:

Python 2.7.9 (default, Dec 10 2014, 12:24:55) [MSC v.1500 32 bit (Intel)] on win32
Type "copyright", "credits" or "license()" for more information.
>>> ================================ RESTART ================================
>>> 
[5, 3, 3, 4, 1, 4]
>>>