1 Reply Latest reply: Sep 16, 2016 4:00 AM by Dimitris Raoulis RSS

    How to separate table columns in Sense 3.0 Widget

    Fei Xu

      Hi,

      It looks to me that repeating the cell data is the only way to show the table data in Widget like below:

       

        <tr ng-repeat="row in data.rows">

         <td style="text-align:right" ng-repeat="cell in row.cells">

           {{cell.qText}}

        </td>

        </tr>

       

      Does any one know how to separate the data by columns?

      I can't remove any of the ng-repeat lines above otherwise the table does not show any data. The way I have defined above for the alignment to right works for the entire table. How can I make the text columns left aligned and number columns right aligned? Or make the first column centre aligned and he second column right aligned?

       

      Thanks

       

      Fei