}
/* Improve ::selection styling by only allowing selection on text
- * content cells. Otherwise, the browser styles row background
- * and text (all dark blue?) when shift-click or click-drag is used
+ * content cells within the main body of the grid. Otherwise, the browser
+ * styles row background and text (all dark blue?) when shift-click or
+ * click-drag is used.
*/
-.eg-grid-row {
+.eg-grid-content-body .eg-grid-row {
user-select:none;
-moz-user-select: none;
-webkit-user-select: none;
}
-.eg-grid-cell-content {
+.eg-grid-content-body .eg-grid-cell-content {
user-select:text;
-moz-user-select: text;
-webkit-user-select: text;
ng-model="grid.selected[grid.indexValue(item)]"/>
</div>
</div>
- <div class="eg-grid-cell eg-grid-cell-content"
+ <div class="eg-grid-cell eg-grid-cell-content eg-grid-selectable"
ng-click="grid.handleRowClick($event, item)"
ng-repeat="col in grid.columnsProvider.columns"
style="flex:{{col.flex}}"