angular2-grid
angular2-grid copied to clipboard
Column header support
How do you add column headers?
At the moment, there is no header support. That would only work with a fixed number of columns anyway. What you can do, though, is to add an NgGridItem for each header, set the col value to the respective column and set fixed to true. That should create fixed items at the top of each column and prevent them from being moved.
Ok, thanks for the suggestion. Implementing your suggestion did not give me the flexibility of having a specific height for the header row without jumping through css hoops. I elected to create another grid as a header with the row height and min height to my liking.