Hello all. I came across the concept of column pinning (tutorial 203) and I need to implement something similar, but for rows.
Having enabled selection for my ng-grid, when I click/select a row, I'm trying to make it move to the top (pinning to the top). However, I'm not sure how to go about this. I could check for the rowSelectionChanged event in onRegisterApi(), and then manipulate the given row if row.isSelected. I haven't been able to think of anything else so far. I found that grouping columns does something similar by moving the column to the front of the grid, but it's rows that I need to manipulate. The only Stackoverflow result I found has the answerer implementing two grids - but that doesn't seem like a nice idea. I'd be grateful for any pointers in the right direction. Cheers, Pritish C. -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
