Individual Expand and collapse Functionality Expected..
See original GitHub issueI’m submitting a … (check one with “x”)
[ ] bug report => search github for a similar issue or PR before submitting
[X] feature request
[ ] support request => Please do not submit support request here, post on Stackoverflow or Gitter
Hi,
I have request or requirement I can say, If we have individual expand and collapse functionallity will be vert useful. Current behavior
Currently we have only three methods regarding expand rows are-
toggleExpandRow
,expandAllRows
and collapseAllRows
that’s it. My expectations are to have a expandRow
and collapseRow
methods also required to expand or collapse perticular row.
NOTE: I am new to ngx-datatable if the above mentioned feature already exists in ngx-datattable please let me know I am in need…Thanks in advance. Expected behavior
Reproduction of the problem
What is the motivation / use case for changing the behavior?
Please tell us about your environment:
- Table version: 0.8.x
- Angular version: 2.0.x
- Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
- Language: [all | TypeScript X.X | ES6/7 | ES5]
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:10
Top Results From Across the Web
FAQ - Accordion Expand/Collapse Function - Stack Overflow
All items start off collapsed and basically when the user clicks on the first paw to expand and then clicks on another paw,...
Read more >Can someone explain the mystery of expanding and ...
Is there a way to expand or collapse the full outline at once, to a specified level in the standard document view (like...
Read more >Collapsing individual activities on incident form - ServiceNow
Hi all, I'm looking for a way to automatically collapse activities when viewing an incident. I've already come across Collapse Section on ...
Read more >Collapse / Expand Hierarchy Functionality in Modul...
Collapse / Expand Hierarchy Functionality in Modules and UX Grids ... and is an expected functionality from customers coming from other ...
Read more >Expanding and collapsing pivot table clusters
Expanding and collapsing pivot table clusters ... If you are using grouped columns or rows in a pivot table, you can expand or...
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
Hi @canpan14, no sorry.
toggleExpandRow
does not suit my needs because the table is reload every 10 secs and all expaned rows are collapsed after reload. Therefore, I have written code to expand the rows that has been expanded before the reload. A simplerowDetail.expand(row)
androwDetail.collapse(row)
would help me! Please, can you add these two methods? Thanks, MarkusHi @khadervali, If you mean Expand one row at a time & collapse all other rows. Yes, you are right no built function is available to do it. But it can be done easily,
Add these lines to .html
And these lines to .ts
Hope, This helps someone 😃 Thank You !