# Marquee Selection in FlexGrid

Learn how to add marquee selection to Wijmo's JavaScript DataGrid in this tutorial

## Content

Use the **showMarquee** property to add an Excel-style marquee to the grid.
```javascript
import * as wjGrid from '@mescius/wijmo.grid';

var theGrid = new wjGrid.FlexGrid('#theGrid', {
    showAlternatingRows: false,
    showMarquee: true,
    itemsSource: getData(),
});
```
You can customize the appearance of the marquee by styling the 'wj-marquee' class.
```css
.wj-marquee {
  border: 1px solid rgba(255,150,30,.75);
  border-radius: 8px;
}
```
When the marquee is enabled, the grid does not highlight the active cell (like Excel). If you want to highlight the active cell, use a CSS selector based on the :focus pseudo-selector:
```css
.wj-cells .wj-cell:focus {
  background: rgba(255,150,30,.75) !important;  
}
```