--- title: AutoQueryGrid Component group: Component Gallery ---
## Default CRUD By default you can create an AutoQueryGrid that allows authorized users the ability to Create, Read, Update & Delete records with just the DataModel, e.g: ```html ```
This will utilize your App's existing [AutoQuery APIs](/autoquery/rdbms) for the specified DataModel to enable its CRUD functionality. ## Read Only You can use `apis` to limit which AutoQuery APIs AutoQueryGrid should use, so if only the AutoQuery DTO is provided, the AutoQueryGrid will only be browsable in **read-only** mode: ```html ```

Table Styles

The same [DataGrid Table Styles](/vue/datagrid#table-styles) can also be used to style AutoQueryGrid, e.g: ```html ```
**Custom Styles** The AutoQueryGrid's appearance is further customizable with the property classes & functions below: ```ts defineProps<{ toolbarButtonClass: string tableStyle: "simple" | "fullWidth" | "stripedRows" | "whiteBackground" | "uppercaseHeadings" | "verticalLines" gridClass: string grid2Class: string grid3Class: string grid4Class: string tableClass: string theadClass: string tbodyClass: string theadRowClass: string theadCellClass: string rowClass:(model:any,i:number) => string rowStyle:(model:any,i:number) => StyleValue }>() ```

Custom AutoQueryGrid

Different AutoQueryGrid features can be hidden with `hide` and functionality disabled with `deny`, e.g: ```html ```
Features that can be hidden and disabled include: ```ts defineProps<{ deny: "filtering" | "queryString" | "queryFilters" hide: "toolbar" | "preferences" | "pagingNav" | "pagingInfo" | "downloadCsv" | "refresh" | "copyApiUrl" | "filtersView" | "newItem" | "resetPreferences" }>() ```

Global AutoQueryGrid Configuration

These features can also be disabled at a global level, applying to all `` components with [setConfig](/vue/use-config), e.g: ```js const { setAutoQueryGridDefaults } = useConfig() setAutoQueryGridDefaults({ hide: ['pagingNav','copyApiUrl','downloadCsv'] }) ```

Limit Columns

By default AutoQueryGrid displays all public properties returned in its AutoQuery API which can be further limited with `selected-columns`: ```html ```

Simple Responsive Columns

Using `visible-from` is a simple way to enable a responsive DataGrid by specifying at which [Tailwind breakpoints](https://tailwindcss.com/docs/responsive-design) columns should be visible from and `header-titles` to use friendlier aliases for different columns, e.g: ```html ```

Custom Responsive Columns

Which columns are displayed and how they're formatted are further customizable with `