angular2-grid icon indicating copy to clipboard operation
angular2-grid copied to clipboard

Minimize the gridpanels?

Open kimvu opened this issue 8 years ago • 1 comments

Is there a solution to minmize the grid items?

Minimizing the content just leaving the header alone.

I have managed to minimize the grid item with css, but the content is stil there (not visible)

minimize panels

This is the result so far.

kimvu avatar Feb 21 '17 10:02 kimvu

Hmmm, that's not something I'd build into the library, but it should be possible for you to do. If you create a boolean in your item representation and wrap the block with an angular ngIf it would no longer render the content. You'd then have to configure the grid to have row heights of your header size and update collapsed items to be a single row item. Hope that helps

BTMorton avatar Mar 05 '17 12:03 BTMorton