Enhance webpack configuration for improved performance and development experience. Add filesystem caching and watch options. Update KreditorSelector to handle prefilled data and improve state management. Refactor TransactionsTable to manage focus during dialog interactions. Update admin tables to manage focus restoration and improve dialog handling. Implement IBAN filtering in IbanSelectionFilter and enhance document rendering with Kreditor information. Update SQL schema to allow multiple IBANs for the same Kreditor and adjust API routes for better data handling.
This commit is contained in:
@@ -28,7 +28,7 @@ export const getColumnDefs = () => [
|
||||
sortable: false,
|
||||
filter: false,
|
||||
resizable: false,
|
||||
suppressMenu: true,
|
||||
suppressHeaderMenuButton: true,
|
||||
cellRenderer: SelectionRenderer,
|
||||
headerComponent: SelectionHeader,
|
||||
headerComponentParams: {
|
||||
@@ -101,7 +101,6 @@ export const getColumnDefs = () => [
|
||||
width: 70,
|
||||
cellRenderer: TypeRenderer,
|
||||
sortable: false,
|
||||
suppressSorting: true,
|
||||
filter: CheckboxFilter,
|
||||
filterParams: {
|
||||
filterOptions: [
|
||||
@@ -138,7 +137,6 @@ export const getColumnDefs = () => [
|
||||
width: 70,
|
||||
cellRenderer: JtlRenderer,
|
||||
sortable: false,
|
||||
suppressSorting: true,
|
||||
filter: CheckboxFilter,
|
||||
filterParams: {
|
||||
filterOptions: [
|
||||
@@ -212,7 +210,10 @@ export const defaultColDef = {
|
||||
|
||||
export const gridOptions = {
|
||||
animateRows: true,
|
||||
rowSelection: false,
|
||||
rowSelection: {
|
||||
mode: 'multiRow',
|
||||
enableClickSelection: false
|
||||
},
|
||||
rowBuffer: 10,
|
||||
// Enable virtualization (default behavior)
|
||||
suppressRowVirtualisation: false,
|
||||
@@ -225,8 +226,7 @@ export const gridOptions = {
|
||||
// Pagination (optional - can be removed for infinite scrolling)
|
||||
pagination: false,
|
||||
paginationPageSize: 100,
|
||||
// Disable cell selection
|
||||
suppressCellSelection: true,
|
||||
suppressRowClickSelection: true,
|
||||
// Disable cell selection and focus
|
||||
cellSelection: false,
|
||||
suppressCellFocus: true
|
||||
};
|
||||
Reference in New Issue
Block a user