Is there a way to "expand" a row?
See original GitHub issueI’m looking to ng2-smart-table to migrate my angular1 components based on ng-table (https://github.com/esvit/ng-table) to Angular (>=2).
One of the thing I use ng-table for the most is like this:
<table ng-table ....>
<tr ng-repeat-start="elem in $data">
<td data-title="'Actions'"><button ng-click="$ctrl.toggleDetails(elem)">Details</button></td>
<td data-title="'Field 1'">{{elem.field1}}</td>
<td data-title="'Field 2'">{{elem.field2}}</td>
<td data-title="'Field 3'">{{elem.field3}}</td>
<td data-title="'Field 4'">{{elem.field4}}</td>
</tr>
<tr ng-repeat-end ng-if="elem.showDetails">
<td colspan="5">DETAILS for elem</td>
</tr>
</table>
Is there a way to achieve something similar with ng2-smart-table?
Issue Analytics
- State:
- Created 6 years ago
- Reactions:6
- Comments:20
Top Results From Across the Web
How to Expand All Rows in Excel 2013 - Solve Your Tech
How to Expand Rows in Excel. Open your file. Select all the rows. Click Home. Click Format. Choose AutoFit Row Height.
Read more >How to group rows in Excel to collapse and expand them
Select any cell in one of the rows you want to group. Go to the Data tab > Outline group, click the arrow...
Read more >Change the column width and row height - Microsoft Support
Select the row or rows that you want to change. · On the Home tab, in the Cells group, click Format. On the...
Read more >How to expand all collapsed columns or rows in Excel?
Select the whole sheet, click Data > Ungroup > Clear Outline to display all collapse columns and rows which are grounded by the...
Read more >Quickly Resize Multiple Columns or Rows at Once in Excel
Doing this with rows works the exact same way except you select the rows and double-click in the header in between them. Resize...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@tenebroso Hi Mate, could you plz add like a working example?. Sry I couldn’t make it work. Thx a lot!
@Et3rnal No problem, I added remove component in OnDestroy. Also need to remove empty rows(parent of component). Anyway thanks for your method. Coz no other options 😦