Skip to content

Search is only available in production builds. Try building and previewing the site to test it out locally.

QuotesListTable Container

The QuotesListTable container displays a comprehensive list of quotes with advanced filtering, sorting, and management capabilities. It includes quote list display with status indicators, pagination and sorting controls, search and filtering options, bulk actions for multiple quotes, quote selection and navigation, and responsive table design.

Version: 1.0.0-beta1

Configuration

The QuotesListTable container provides the following configuration options:

ParameterTypeReq?Description
pageSizenumberNo
showItemRangebooleanNo
showPageSizePickerbooleanNo
showPaginationbooleanNo
onViewQuotefunctionNoCallback function triggered when view quote
onPageSizeChangefunctionNoCallback function triggered when page size change
onPageChangefunctionNoCallback function triggered when page change

Slots

This container exposes the following slots for customization:

SlotTypeRequiredDescription
QuoteNameSlotPropsNo
CreatedSlotPropsNo
CreatedBySlotPropsNo
StatusSlotPropsNo
LastUpdatedSlotPropsNo
QuoteTemplateSlotPropsNo
QuoteTotalSlotPropsNo
ActionsfunctionNo
EmptyQuotesSlotPropsNo
ItemRangeSlotPropsNo
PageSizePickerfunctionNo
PaginationfunctionNo

Usage

The following example demonstrates how to use the QuotesListTable container:

import { render as provider } from '@dropins/storefront-quote-management/render.js';
import { QuotesListTable } from '@dropins/storefront-quote-management/containers/QuotesListTable.js';
await provider.render(QuotesListTable, {
pageSize: 0,
showItemRange: true,
showPageSizePicker: true,
slots: {
// Add custom slot implementations here
}
})(block);