Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ui-grid-draggable-rows breaks css styles for ui-grid-selection #38

Open
molecular opened this issue Jun 14, 2016 · 0 comments
Open

ui-grid-draggable-rows breaks css styles for ui-grid-selection #38

molecular opened this issue Jun 14, 2016 · 0 comments

Comments

@molecular
Copy link

molecular commented Jun 14, 2016

css rule to mark selected rows when using ui-grid-selection feature (from ui-grid.css)

.ui-grid-row.ui-grid-row-selected > [ui-grid-row] > .ui-grid-cell {
  background-color: #c9dde1;
}

does not work with a rowTemplate (as suggested in documentation)

rowTemplate:
  '<div grid="grid" class="ui-grid-draggable-row" draggable="true">' +
  $templateCache.get('ui-grid/ui-grid-row') +
  '</div>',

because of the additional

quick fix to css rule:

.ui-grid-row.ui-grid-row-selected > [ui-grid-row] .ui-grid-cell {
  background-color: #c9dde1;
}

(notice removal of the second ">")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant