{
  "id": "task_libraries:table/javascript",
  "path": "/exapedia/javascript-table-libraries",
  "template": {
    "id": "task_libraries",
    "version": 4
  },
  "title": "JavaScript table libraries",
  "answer": [
    {
      "t": "text",
      "text": "JavaScript table libraries display rows of data in a grid with sorting, filtering, and pagination. A data grid renders only the rows on screen when a table holds thousands of records. These libraries let admin panels, dashboards, and internal tools show and edit large datasets in the browser."
    }
  ],
  "breadcrumb": [
    {
      "label": "Tools"
    },
    {
      "label": "JavaScript table libraries"
    }
  ],
  "sections": [
    {
      "id": "libraries_popularity",
      "anchor": "popularity",
      "heading": "Popularity",
      "blocks": [
        {
          "b": "table",
          "columns": [
            "Library",
            "Monthly downloads",
            "Stars",
            "Last release",
            "License"
          ],
          "rows": [
            [
              [
                {
                  "t": "link",
                  "href": "#tanstack-table-core",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F117"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F118"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F126"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F121"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F119"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#ag-grid-community",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F136"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F137"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F143"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F140"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F138"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#mui-x-data-grid",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F153"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F154"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F162"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F157"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F155"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#datatables",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F173"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F174"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F180"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F177"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F175"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#react-data-grid",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F191"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F192"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F200"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F195"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F193"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#glideapps-glide-data-grid",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F211"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F212"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F220"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F215"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F213"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#material-react-table",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F232"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F233"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F241"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F236"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F234"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#handsontable",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F253"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F254"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F262"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F257"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F255"
                }
              ]
            ]
          ],
          "variant": "pop",
          "caption": [
            {
              "t": "text",
              "text": "Downloads: "
            },
            {
              "t": "text",
              "text": "npm"
            },
            {
              "t": "text",
              "text": ", last thirty days. Stars and releases: GitHub. Amber: no release in over a year."
            }
          ]
        }
      ],
      "note": [
        {
          "t": "link",
          "href": "#tanstack-table-core",
          "label": [
            {
              "t": "text",
              "text": "TanStack Table"
            }
          ]
        },
        {
          "t": "text",
          "text": " has the most monthly downloads in this comparison, at "
        },
        {
          "t": "fact",
          "fact": "F118"
        },
        {
          "t": "text",
          "text": "."
        }
      ]
    },
    {
      "id": "libraries_capabilities",
      "anchor": "capabilities",
      "heading": "Capabilities",
      "blocks": [
        {
          "b": "table",
          "columns": [
            "Library",
            "Cell editing UI",
            "Row virtualization",
            "Column pinning"
          ],
          "rows": [
            [
              [
                {
                  "t": "link",
                  "href": "#tanstack-table-core",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F117"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F127"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F128"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F129"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#ag-grid-community",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F136"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F144"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F145"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F146"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#mui-x-data-grid",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F153"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F163"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F164"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F165"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#datatables",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F173"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F181"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F182"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F183"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#react-data-grid",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F191"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F201"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F202"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F203"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#glideapps-glide-data-grid",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F211"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F221"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F222"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F223"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#material-react-table",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F232"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F242"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F243"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F244"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#handsontable",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F253"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F263"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F264"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F265"
                }
              ]
            ]
          ],
          "variant": "cap"
        }
      ]
    },
    {
      "id": "libraries_entries",
      "anchor": "libraries",
      "heading": "Libraries",
      "blocks": [
        {
          "b": "entry",
          "anchor": "tanstack-table-core",
          "name": [
            {
              "t": "fact",
              "fact": "F117"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/TanStack/table"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/@tanstack/table-core"
            },
            {
              "label": "Docs",
              "href": "https://tanstack.com/table/latest"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F124"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F118"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F126"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F120"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F119"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://tanstack.com/table/latest",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F117"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F134"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F135"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/joinmarket-webui/jam",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F134"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "tsx",
              "code": "const TxHistoryTableRow = ({ row }: { row: Row<typeof txHistoryTableFeatures, HistoryEntry> }) => {\n  return (\n    <>\n      <TableRow key={row.id}>\n        {row.getVisibleCells().map((cell) => {\n          const meta = cell.column.columnDef.meta as { align?: string } | undefined\n          const alignCenter = meta?.align === 'center'\n          const alignRight = meta?.align === 'right'\n          return (\n            <TableCell\n              key={cell.id}\n              className={cn({\n                'text-center': alignCenter,\n                'text-right': alignRight,\n              })}\n            >\n              {flexRender(cell.column.columnDef.cell, cell.getContext())}\n            </TableCell>\n          )\n        })}\n      </TableRow>\n      {row.getIsExpanded() && (\n        <TableRow>\n          <TableCell colSpan={row.getAllCells().length} className=\"p-2\">\n            <TxHistoryDetails entry={row.original} />\n          </TableCell>\n        </TableRow>\n      )}\n    </>\n  )\n}\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/joinmarket-webui/jam/blob/01ee124be4faafb8c536e78861f4bf31571e2c02/src/components/wallet/TxHistoryTable.tsx#L67-L97",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F133"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=%40tanstack/table-core%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F117"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "tsx",
              "code": "import { constructTable, tableFeatures } from '@tanstack/table-core'\nimport { storeReactivityBindings } from '@tanstack/table-core/store-reactivity-bindings'\n\nconst features = tableFeatures({\n  coreReactivityFeature: storeReactivityBindings(),\n})\nconst table = constructTable({\n  features,\n  data: [{ firstName: 'tanner' }],\n  columns: [{ accessorKey: 'firstName', header: 'First Name' }],\n})\nconsole.log(table.getRowModel().rows)\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/TanStack/table/blob/main/docs/framework/vanilla/quick-start.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "quick-start.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F122"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "ag-grid-community",
          "name": [
            {
              "t": "fact",
              "fact": "F136"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/ag-grid/ag-grid"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/ag-grid-community"
            },
            {
              "label": "Docs",
              "href": "https://www.ag-grid.com/javascript-data-grid/"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F13"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F137"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F143"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F139"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F138"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://www.ag-grid.com/javascript-data-grid/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F136"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F14"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F15"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F16"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F17"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F18"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F19"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F20"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F21"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F151"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F152"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/PablocFonseca/streamlit-aggrid",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F151"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "typescript",
              "code": "private attachStreamlitRerunToEvents(api: GridApi) {\n    const updateEvents = this.props.args.update_on\n\n    updateEvents.forEach((element: any) => {\n      if (Array.isArray(element)) {\n        // If element is a tuple (eventName, timeout), apply debounce for the timeout duration\n        const [eventName, timeout] = element\n        api.addEventListener(\n          eventName,\n          debounce(\n            (e: any) => {\n              this.returnGridValue(e, eventName)\n            },\n            timeout,\n            {\n              leading: false,\n              trailing: true,\n              maxWait: timeout,\n            }\n          )\n        )\n      } else {\n        // Attach event listener for non-tuple events\n        api.addEventListener(element, (e: any) => {\n          this.returnGridValue(e, element)\n        })\n      }\n      if (this.state.debug) {\n        console.log(`Attached grid return event: ${element}`)\n      }\n    })\n  }\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/PablocFonseca/streamlit-aggrid/blob/main/st_aggrid/frontend/src/AgGrid.tsx#L146-L177",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F150"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=JavaScript%20projects%20that%20use%20ag-grid-community&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F136"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "typescript",
              "code": "import { AllCommunityModule, ModuleRegistry, createGrid } from 'ag-grid-community';\nModuleRegistry.registerModules([AllCommunityModule]);\nconst grid = document.querySelector('#myGrid');\ncreateGrid(grid, {\n  columnDefs: [{ field: 'make' }],\n  rowData: [{ make: 'Toyota' }],\n});\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://www.ag-grid.com/javascript-data-grid/getting-started/",
                  "label": [
                    {
                      "t": "text",
                      "text": "getting-started.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F141"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "mui-x-data-grid",
          "name": [
            {
              "t": "fact",
              "fact": "F153"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/mui/mui-x"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/@mui/x-data-grid"
            },
            {
              "label": "Docs",
              "href": "https://mui.com/x/react-data-grid/"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F160"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F154"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F162"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F156"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F155"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://mui.com/x/react-data-grid/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F153"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F171"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F172"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/mui/material-ui",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F171"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "tsx",
              "code": "export default function EmployeeList() {\n  const { pathname } = useLocation();\n  const [searchParams] = useSearchParams();\n  const navigate = useNavigate();\n\n  const dialogs = useDialogs();\n  const notifications = useNotifications();\n\n  const [paginationModel, setPaginationModel] = React.useState<GridPaginationModel>({\n    page: searchParams.get('page') ? Number(searchParams.get('page')) : 0,\n    pageSize: searchParams.get('pageSize')\n      ? Number(searchParams.get('pageSize'))\n      : INITIAL_PAGE_SIZE,\n  });\n  const [filterModel, setFilterModel] = React.useState<GridFilterModel>(\n    searchParams.get('filter')\n      ? JSON.parse(searchParams.get('filter') ?? '')\n      : { items: [] },\n  );\n  const [sortModel, setSortModel] = React.useState<GridSortModel>(\n    searchParams.get('sort') ? JSON.parse(searchParams.get('sort') ?? '') : [],\n  );\n\n  const [rowsState, setRowsState] = React.useState<{\n    rows: Employee[];\n    rowCount: number;\n  }>({\n    rows: [],\n    rowCount: 0,\n  });\n\n  const [isLoading, setIsLoading] = React.useState(true);\n  const [error, setError] = React.useState<Error | null>(null);\n\n  const handlePaginationModelChange = React.useCallback(\n    (model: GridPaginationModel) => {\n      setPaginationModel(model);\n\n      searchParams.set('page', String(model.page));\n      searchParams.set('pageSize', String(model.pageSize));\n\n      const newSearchParamsString = searchParams.toString();\n\n      navigate(\n        `${pathname}${newSearchParamsString ? '?' : ''}${newSearchParamsString}`,\n      );\n    },\n    [navigate, pathname, searchParams],\n  );\n\n  const handleFilterModelChange = React.useCallback(\n    (model: GridFilterModel) => {\n      setFilterModel(model);\n\n      if (\n        model.items.length > 0 ||\n        (model.quickFilterValues && model.quickFilterValues.length > 0)\n      ) {\n        searchParams.set('filter', JSON.stringify(model));\n      } else {\n        searchParams.delete('filter');\n      }\n\n      const newSearchParamsString = searchParams.toString();\n\n      navigate(\n        `${pathname}${newSearchParamsString ? '?' : ''}${newSearchParamsString}`,\n      );\n    },\n    [navigate, pathname, searchParams],\n  );\n\n  const handleSortModelChange = React.useCallback(\n    (model: GridSortModel) => {\n      setSortModel(model);\n\n      if (model.length > 0) {\n        searchParams.set('sort', JSON.stringify(model));\n      } else {\n        searchParams.delete('sort');\n      }\n\n      const newSearchParamsString = searchParams.toString();\n\n      navigate(\n        `${pathname}${newSearchParamsString ? '?' : ''}${newSearchParamsString}`,\n      );\n    },\n    [navigate, pathname, searchParams],\n  );\n\n  const loadData = React.useCallback(async () => {\n    setError(null);\n    setIsLoading(true);\n\n    try {\n      const listData = await getEmployees({\n        paginationModel,\n        sortModel,\n        filterModel,\n      });\n\n      setRowsState({\n        rows: listData.items,\n        rowCount: listData.itemCount,\n      });\n    } catch (listDataError) {\n      setError(listDataError as Error);\n    }\n\n    setIsLoading(false);\n  }, [paginationModel, sortModel, filterModel]);\n\n  React.useEffect(() => {\n    loadData();\n  }, [loadData]);\n\n  const handleRefresh = React.useCallback(() => {\n    if (!isLoading) {\n      loadData();\n    }\n  }, [isLoading, loadData]);\n\n  const handleRowClick = React.useCallback<GridEventListener<'rowClick'>>(\n    ({ row }) => {\n      navigate(`/employees/${row.id}`);\n    },\n    [navigate],\n  );\n\n  const handleCreateClick = React.useCallback(() => {\n    navigate('/employees/new');\n  }, [navigate]);\n\n  const handleRowEdit = React.useCallback(\n    (employee: Employee) => () => {\n      navigate(`/employees/${employee.id}/edit`);\n    },\n    [navigate],\n  );\n\n  const handleRowDelete = React.useCallback(\n    (employee: Employee) => async () => {\n      const confirmed = await dialogs.confirm(\n        `Do you wish to delete ${employee.name}?`,\n        {\n          title: `Delete employee?`,\n          severity: 'error',\n          okText: 'Delete',\n          cancelText: 'Cancel',\n        },\n      );\n\n      if (confirmed) {\n        setIsLoading(true);\n        try {\n          await deleteEmployee(Number(employee.id));\n\n          notifications.show('Employee deleted successfully.', {\n            severity: 'success',\n            autoHideDuration: 3000,\n          });\n          loadData();\n        } catch (deleteError) {\n          notifications.show(\n            `Failed to delete employee. Reason:' ${(deleteError as Error).message}`,\n            {\n              severity: 'error',\n              autoHideDuration: 3000,\n            },\n          );\n        }\n        setIsLoading(false);\n      }\n    },\n    [dialogs, notifications, loadData],\n  );\n\n  const initialState = React.useMemo(\n    () => ({\n      pagination: { paginationModel: { pageSize: INITIAL_PAGE_SIZE } },\n    }),\n    [],\n  );\n\n  const columns = React.useMemo<GridColDef[]>(\n    () => [\n      { field: 'id', headerName: 'ID' },\n      { field: 'name', headerName: 'Name', width: 140 },\n      { field: 'age', headerName: 'Age', type: 'number' },\n      {\n        field: 'joinDate',\n        headerName: 'Join date',\n        type: 'date',\n        valueGetter: (value) => value && new Date(value),\n        width: 140,\n      },\n      {\n        field: 'role',\n        headerName: 'Department',\n        type: 'singleSelect',\n        valueOptions: ['Market', 'Finance', 'Development'],\n        width: 160,\n      },\n      { field: 'isFullTime', headerName: 'Full-time', type: 'boolean' },\n      {\n        field: 'actions',\n        type: 'actions',\n        flex: 1,\n        align: 'right',\n        getActions: ({ row }) => [\n          <GridActionsCellItem\n            key=\"edit-item\"\n            icon={<EditIcon />}\n            label=\"Edit\"\n            onClick={handleRowEdit(row)}\n          />,\n          <GridActionsCellItem\n            key=\"delete-item\"\n            icon={<DeleteIcon />}\n            label=\"Delete\"\n            onClick={handleRowDelete(row)}\n          />,\n        ],\n      },\n    ],\n    [handleRowEdit, handleRowDelete],\n  );\n\n  const pageTitle = 'Employees';\n\n  return (\n    <PageContainer\n      title={pageTitle}\n      breadcrumbs={[{ title: pageTitle }]}\n      actions={\n        <Stack direction=\"row\" spacing={1} sx={{ alignItems: 'center' }}>\n          <Tooltip title=\"Reload data\" placement=\"right\" enterDelay={1000}>\n            <div>\n              <IconButton size=\"small\" aria-label=\"refresh\" onClick={handleRefresh}>\n                <RefreshIcon />\n              </IconButton>\n            </div>\n          </Tooltip>\n          <Button\n            variant=\"contained\"\n            onClick={handleCreateClick}\n            startIcon={<AddIcon />}\n          >\n            Create\n          </Button>\n        </Stack>\n      }\n    >\n      <Box sx={{ flex: 1, width: '100%' }}>\n        {error ? (\n          <Box sx={{ flexGrow: 1 }}>\n            <Alert severity=\"error\">{error.message}</Alert>\n          </Box>\n        ) : (\n          <DataGrid\n            rows={rowsState.rows}\n            rowCount={rowsState.rowCount}\n            columns={columns}\n            pagination\n            sortingMode=\"server\"\n            filterMode=\"server\"\n            paginationMode=\"server\"\n            paginationModel={paginationModel}\n            onPaginationModelChange={handlePaginationModelChange}\n            sortModel={sortModel}\n            onSortModelChange={handleSortModelChange}\n            filterModel={filterModel}\n            onFilterModelChange={handleFilterModelChange}\n            disableRowSelectionOnClick\n            onRowClick={handleRowClick}\n            loading={isLoading}\n            initialState={initialState}\n            showToolbar\n            pageSizeOptions={[5, INITIAL_PAGE_SIZE, 25]}\n            sx={{\n              [`& .${gridClasses.columnHeader}, & .${gridClasses.cell}`]: {\n                outline: 'transparent',\n              },\n              [`& .${gridClasses.columnHeader}:focus-within, & .${gridClasses.cell}:focus-within`]:\n                {\n                  outline: 'none',\n                },\n              [`& .${gridClasses.row}:hover`]: {\n                cursor: 'pointer',\n              },\n            }}\n            slotProps={{\n              loadingOverlay: {\n                variant: 'circular-progress',\n                noRowsVariant: 'circular-progress',\n              },\n              baseIconButton: {\n                size: 'small',\n              },\n            }}\n          />\n        )}\n      </Box>\n    </PageContainer>\n  );\n}\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/mui/material-ui/blob/2271f606888b970f5e92d2204d81984974421121/docs/data/material/getting-started/templates/crud-dashboard/components/EmployeeList.tsx#L32-L338",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F170"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=%40mui/x-data-grid%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F153"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "tsx",
              "code": "import { DataGrid } from '@mui/x-data-grid';\nconst rows = [{ id: 1, name: 'Ada' }];\nconst columns = [{ field: 'name', headerName: 'Name', width: 150 }];\nexport default function App() {\n  return <div style={{ height: 300, width: '100%' }}>\n    <DataGrid rows={rows} columns={columns} />\n  </div>;\n}\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://mui.com/x/react-data-grid/quickstart/",
                  "label": [
                    {
                      "t": "text",
                      "text": "quickstart.mdx"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F158"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "datatables",
          "name": [
            {
              "t": "fact",
              "fact": "F173"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/DataTables/DataTablesSrc"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/datatables.net"
            },
            {
              "label": "Docs",
              "href": "https://datatables.net/"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F35"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F174"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F180"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F176"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F175"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://datatables.net/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F173"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F36"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F37"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F38"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F39"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F40"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F41"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F42"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F43"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F189"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F190"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/mailcow/mailcow-dockerized",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F189"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "typescript",
              "code": "function draw_oauth2_clients() {\n    // just recalc width if instance already exists\n    if ($.fn.DataTable.isDataTable('#oauth2clientstable') ) {\n      $('#oauth2clientstable').DataTable().columns.adjust().responsive.recalc();\n      return;\n    }\n\n    $('#oauth2clientstable').DataTable({\n      responsive: true,\n      processing: true,\n      serverSide: false,\n      stateSave: true,\n      pageLength: pagination_size,\n      dom: \"<'row'<'col-sm-12 col-md-6'f><'col-sm-12 col-md-6'l>>\" +\n           \"tr\" +\n           \"<'row'<'col-sm-12 col-md-5'i><'col-sm-12 col-md-7'p>>\",\n      language: lang_datatables,\n      ajax: {\n        type: \"GET\",\n        url: \"/api/v1/get/oauth2-client/all\",\n        dataSrc: function(data){\n          return process_table_data(data, 'oauth2clientstable');\n        }\n      },\n      columns: [\n        {\n          // placeholder, so checkbox will not block child row toggle\n          title: '',\n          data: null,\n          searchable: false,\n          orderable: false,\n          defaultContent: ''\n        },\n        {\n          title: '',\n          data: 'chkbox',\n          searchable: false,\n          orderable: false,\n          defaultContent: ''\n        },\n        {\n          title: 'ID',\n          data: 'id',\n          defaultContent: ''\n        },\n        {\n          title: lang.oauth2_client_id,\n          data: 'client_id',\n          defaultContent: ''\n        },\n        {\n          title: lang.oauth2_client_secret,\n          data: 'client_secret',\n          defaultContent: ''\n        },\n        {\n          title: lang.oauth2_redirect_uri,\n          data: 'redirect_uri',\n          defaultContent: ''\n        },\n        {\n          title: lang.action,\n          data: 'action',\n          className: 'dt-sm-head-hidden dt-text-right',\n          defaultContent: ''\n        },\n      ]\n    });\n  }\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/mailcow/mailcow-dockerized/blob/84828d95312c40922561fea248ce646251debe41/data/web/js/site/admin.js#L153-L221",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F188"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=JavaScript%20projects%20that%20use%20datatables.net&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F173"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "typescript",
              "code": "import DataTable from 'datatables.net';\n\nnew DataTable('#myTable', {\n    // initialisation options\n});\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://registry.npmjs.org/datatables.net/latest",
                  "label": [
                    {
                      "t": "text",
                      "text": "latest.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F178"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "react-data-grid",
          "name": [
            {
              "t": "fact",
              "fact": "F191"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/Comcast/react-data-grid"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/react-data-grid"
            },
            {
              "label": "Docs",
              "href": "https://comcast.github.io/react-data-grid/"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F198"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F192"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F200"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F194"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F193"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://comcast.github.io/react-data-grid/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F191"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F209"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F210"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/supabase/supabase",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F209"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "tsx",
              "code": "(props: RenderCellProps<SupaRow>) => {\n    // [Alaister] formatter is actually a valid React component, so we can use hooks here\n    // eslint-disable-next-line react-hooks/rules-of-hooks\n    const { isRowSelected, onRowSelectionChange } = useRowSelection()\n    return (\n      <SelectCellFormatter\n        aria-label=\"Select\"\n        tabIndex={props.tabIndex}\n        value={isRowSelected}\n        row={props.row}\n        onChange={(checked, isShiftClick) => {\n          onRowSelectionChange({ row: props.row, checked, isShiftClick })\n        }}\n        // Stop propagation to prevent row selection\n        onClick={stopPropagation}\n      />\n    )\n  }\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/supabase/supabase/blob/0c95428678e1dbe66a3379b0bb5a654187497ceb/apps/studio/components/grid/components/grid/SelectColumn.tsx#L44-L61",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F208"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=react-data-grid%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F191"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "tsx",
              "code": "import 'react-data-grid/lib/styles.css';\n\nimport { DataGrid, type Column } from 'react-data-grid';\n\ninterface Row {\n  id: number;\n  title: string;\n}\n\nconst columns: readonly Column<Row>[] = [\n  { key: 'id', name: 'ID' },\n  { key: 'title', name: 'Title' }\n];\n\nconst rows: readonly Row[] = [\n  { id: 0, title: 'Example' },\n  { id: 1, title: 'Demo' }\n];\n\nfunction App() {\n  return <DataGrid columns={columns} rows={rows} />;\n}\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/Comcast/react-data-grid/blob/882455724c6d10086a8b75744bea9f10746f6b9e/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F196"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "glideapps-glide-data-grid",
          "name": [
            {
              "t": "fact",
              "fact": "F211"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/glideapps/glide-data-grid"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/@glideapps/glide-data-grid"
            },
            {
              "label": "Docs",
              "href": "https://docs.grid.glideapps.com/"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F218"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F212"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F220"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F214"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F213"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://docs.grid.glideapps.com/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F211"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F230"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F231"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/marimo-team/marimo",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F230"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "tsx",
              "code": "const handleDeleteRows = () => {\n    const rows = selection.rows.toArray();\n    onAddEdits(\n      rows.map((rowIdx, index) => ({\n        rowIdx: rowIdx - index,\n        type: BulkEdit.Remove,\n      })),\n    );\n\n    // Clear selection\n    setSelection({\n      columns: CompactSelection.empty(),\n      rows: CompactSelection.empty(),\n    });\n  };\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/marimo-team/marimo/blob/ab84133f46729240b28acf78014c18ef7ce40e58/frontend/src/plugins/impl/data-editor/glide-data-editor.tsx#L340-L354",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F229"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=%40glideapps/glide-data-grid%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F211"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "tsx",
              "code": "import DataEditor, { GridCellKind } from '@glideapps/glide-data-grid';\nimport '@glideapps/glide-data-grid/dist/index.css';\nconst columns = [{ title: 'Name', width: 160 }];\nconst data = ['Ada', 'Grace'];\nexport default function App() {\n  return <DataEditor columns={columns} rows={data.length}\n    getCellContent={([col, row]) => ({ kind: GridCellKind.Text, data: data[row],\n      displayData: data[row], allowOverlay: false })} />;\n}\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/glideapps/glide-data-grid/blob/0875d78cc41535a39f8b417ff88ce1ebe129c363/packages/core/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F216"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "material-react-table",
          "name": [
            {
              "t": "fact",
              "fact": "F232"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/KevinVandy/material-react-table"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/material-react-table"
            },
            {
              "label": "Docs",
              "href": "https://www.material-react-table.com/"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F239"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F233"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F241"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F235"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F234"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://www.material-react-table.com/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F232"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F251"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F252"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/jellyfin/jellyfin-web",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F251"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "tsx",
              "code": "export const Component = () => {\n    const { api } = useApi();\n    const {\n        data,\n        isLoading: isDevicesLoading,\n        isError: isDevicesError,\n        isRefetching\n    } = useDevices({});\n    const devices = useMemo(() => (\n        data?.Items || []\n    ), [ data ]);\n    const {\n        usersById: users,\n        names: userNames,\n        isLoading: isUsersLoading,\n        isError: isUsersError\n    } = useUsersDetails();\n    const theme = useTheme();\n\n    const [ isDeleteConfirmOpen, setIsDeleteConfirmOpen ] = useState(false);\n    const [ isDeleteAllConfirmOpen, setIsDeleteAllConfirmOpen ] = useState(false);\n    const [ pendingDeleteDeviceId, setPendingDeleteDeviceId ] = useState<string>();\n    const deleteDevice = useDeleteDevice();\n    const updateDevice = useUpdateDevice();\n\n    const isLoading = isDevicesLoading || isUsersLoading;\n\n    const onDeleteDevice = useCallback((id: string | null | undefined) => () => {\n        if (id) {\n            setPendingDeleteDeviceId(id);\n            setIsDeleteConfirmOpen(true);\n        }\n    }, []);\n\n    const onCloseDeleteConfirmDialog = useCallback(() => {\n        setPendingDeleteDeviceId(undefined);\n        setIsDeleteConfirmOpen(false);\n    }, []);\n\n    const onConfirmDelete = useCallback(() => {\n        if (pendingDeleteDeviceId) {\n            deleteDevice.mutate({\n                id: [pendingDeleteDeviceId]\n            }, {\n                onSettled: onCloseDeleteConfirmDialog\n            });\n        }\n    }, [ deleteDevice, onCloseDeleteConfirmDialog, pendingDeleteDeviceId ]);\n\n    const onDeleteAll = useCallback(() => {\n        setIsDeleteAllConfirmOpen(true);\n    }, []);\n\n    const onCloseDeleteAllConfirmDialog = useCallback(() => {\n        setIsDeleteAllConfirmOpen(false);\n    }, []);\n\n    const onConfirmDeleteAll = useCallback(() => {\n        if (devices) {\n            Promise\n                .all(devices.map(item => {\n                    const isCurrentDevice = api && item.Id && api.deviceInfo.id === item.Id;\n                    if (item.Id && !isCurrentDevice) {\n                        return deleteDevice.mutateAsync({ id: [item.Id] });\n                    }\n                    return Promise.resolve();\n                }))\n                .catch(err => {\n                    console.error('[DevicesPage] failed deleting all devices', err);\n                })\n                .finally(() => {\n                    onCloseDeleteAllConfirmDialog();\n                });\n        }\n    }, [ api, deleteDevice, devices, onCloseDeleteAllConfirmDialog ]);\n\n    const UserCell = getUserCell(users);\n\n    const columns = useMemo<MRT_ColumnDef<DeviceInfoDto>[]>(() => [\n        {\n            id: 'DateLastActivity',\n            accessorFn: row => row.DateLastActivity ? parseISO(row.DateLastActivity) : undefined,\n            header: globalize.translate('LastActive'),\n            size: 160,\n            Cell: DateTimeCell,\n            filterVariant: 'datetime-range',\n            enableEditing: false\n        },\n        {\n            id: 'Name',\n            accessorFn: row => row.CustomName || row.Name,\n            header: globalize.translate('LabelDevice'),\n            size: 200,\n            Cell: DeviceNameCell\n        },\n        {\n            id: 'App',\n            accessorFn: row => [row.AppName, row.AppVersion]\n                .filter(v => !!v) // filter missing values\n                .join(' '),\n            header: globalize.translate('LabelAppName'),\n            size: 200,\n            enableEditing: false\n        },\n        {\n            accessorKey: 'LastUserName',\n            header: globalize.translate('LabelUser'),\n            size: 120,\n            enableEditing: false,\n            Cell: UserCell,\n            filterVariant: 'multi-select',\n            filterSelectOptions: userNames\n        }\n    ], [ UserCell, userNames ]);\n\n    // NOTE: We need to provide a custom theme due to a MRT bug causing the initial theme to always be used\n    // https://github.com/KevinVandy/material-react-table/issues/1429\n    const mrtTheme = useMemo<Partial<MRT_Theme>>(() => ({\n        baseBackgroundColor: theme.palette.background.paper\n    }), [ theme ]);\n\n    const mrTable = useMaterialReactTable({\n        ...DEFAULT_TABLE_OPTIONS,\n        mrtTheme,\n\n        columns,\n        data: devices,\n\n        // State\n        initialState: {\n            density: 'compact',\n            pagination: {\n                pageIndex: 0,\n                pageSize: 25\n            }\n        },\n        state: {\n            isLoading\n        },\n\n        // Do not reset the page index when refetching data\n        autoResetPageIndex: !isRefetching,\n\n        // Editing device name\n        enableEditing: true,\n        onEditingRowSave: ({ table, row, values }) => {\n            const newName = values.Name?.trim();\n            const hasChanged = row.original.CustomName ?\n                newName !== row.original.CustomName :\n                newName !== row.original.Name;\n\n            // If the name has changed, save it as the custom name\n            if (row.original.Id && hasChanged) {\n                updateDevice.mutate({\n                    id: row.original.Id,\n                    deviceOptionsDto: {\n                        CustomName: newName || undefined\n                    }\n                });\n            }\n\n            table.setEditingRow(null); //exit editing mode\n        },\n\n        // Custom actions\n        enableRowActions: true,\n        positionActionsColumn: 'last',\n        displayColumnDefOptions: {\n            'mrt-row-actions': {\n                header: '',\n                size: 100\n            }\n        },\n        renderRowActions: ({ row, table }) => {\n            const isCurrentDevice = api && row.original.Id && api.deviceInfo.id === row.original.Id;\n            return (\n                <Box\n                    sx={{\n                        display: 'flex',\n                        gap: 1,\n                        '&&': {\n                            backgroundColor: 'transparent !important'\n                        }\n                    }}\n                >\n                    <Tooltip title={globalize.translate('Edit')}>\n                        <IconButton\n                            onClick={() => table.setEditingRow(row)}\n                        >\n                            <Edit />\n                        </IconButton>\n                    </Tooltip>\n                    {/* Don't include Tooltip when disabled */}\n                    {isCurrentDevice ? (\n                        <IconButton\n                            color='error'\n                            disabled\n                        >\n                            <Delete />\n                        </IconButton>\n                    ) : (\n                        <Tooltip title={globalize.translate('Delete')}>\n                            <IconButton\n                                color='error'\n                                onClick={onDeleteDevice(row.original.Id)}\n                            >\n                                <Delete />\n                            </IconButton>\n                        </Tooltip>\n                    )}\n                </Box>\n            );\n        },\n\n        // Custom toolbar contents\n        renderTopToolbarCustomActions: () => (\n            <Button\n                color='error'\n                startIcon={<Delete />}\n                onClick={onDeleteAll}\n            >\n                {globalize.translate('DeleteAll')}\n            </Button>\n        )\n    });\n\n    return (\n        <TablePage\n            id='devicesPage'\n            title={globalize.translate('HeaderDevices')}\n            className='mainAnimatedPage type-interior'\n            table={mrTable}\n            isError={isDevicesError || isUsersError}\n            errorMessage={globalize.translate('DevicesLoadError')}\n        >\n            <ConfirmDialog\n                open={isDeleteConfirmOpen}\n                title={globalize.translate('HeaderDeleteDevice')}\n                text={globalize.translate('DeleteDeviceConfirmation')}\n                onCancel={onCloseDeleteConfirmDialog}\n                onConfirm={onConfirmDelete}\n                confirmButtonColor='error'\n                confirmButtonText={globalize.translate('Delete')}\n            />\n            <ConfirmDialog\n                open={isDeleteAllConfirmOpen}\n                title={globalize.translate('HeaderDeleteDevices')}\n                text={globalize.translate('DeleteDevicesConfirmation')}\n                onCancel={onCloseDeleteAllConfirmDialog}\n                onConfirm={onConfirmDeleteAll}\n                confirmButtonColor='error'\n                confirmButtonText={globalize.translate('Delete')}\n            />\n        </TablePage>\n    );\n};\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/jellyfin/jellyfin-web/blob/d90bba74d2dc03e3cab92789b38b956da6dfd1f2/src/apps/dashboard/routes/devices/index.tsx#L38-L293",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F250"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=material-react-table%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F232"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "tsx",
              "code": "import { MaterialReactTable, useMaterialReactTable } from 'material-react-table';\nconst data = [{ name: 'Ada' }];\nconst columns = [{ accessorKey: 'name', header: 'Name' }];\nexport default function App() {\n  const table = useMaterialReactTable({ columns, data });\n  return <MaterialReactTable table={table} />;\n}\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://www.material-react-table.com/docs/getting-started/usage",
                  "label": [
                    {
                      "t": "text",
                      "text": "usage.mdx"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F237"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "handsontable",
          "name": [
            {
              "t": "fact",
              "fact": "F253"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/handsontable/handsontable"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/handsontable"
            },
            {
              "label": "Docs",
              "href": "https://handsontable.com/docs/javascript-data-grid/"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F260"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F254"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F262"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F256"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F255"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://handsontable.com/docs/javascript-data-grid/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F253"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "tsx",
              "code": "import Handsontable from 'handsontable';\nconst element = document.getElementById('handsontable-grid');\nnew Handsontable(element, {\n  data: [{company: 'Tagcat'}],\n  columns: [{data: 'company', title: 'Company'}],\n  rowHeaders: true,\n  licenseKey: 'non-commercial-and-evaluation',\n});\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://raw.githubusercontent.com/handsontable/handsontable/master/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=handsontable%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "Find projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F253"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F258"
            }
          ]
        }
      ]
    }
  ],
  "questions": [
    {
      "q": "Which JavaScript table library should I use?",
      "a": [
        {
          "t": "link",
          "href": "#ag-grid-community",
          "label": [
            {
              "t": "text",
              "text": "AG Grid Community"
            }
          ]
        },
        {
          "t": "text",
          "text": " suits apps that want a ready grid with built-in editing and virtualization. "
        },
        {
          "t": "link",
          "href": "#tanstack-table-core",
          "label": [
            {
              "t": "text",
              "text": "TanStack Table"
            }
          ]
        },
        {
          "t": "text",
          "text": " suits apps that build their own table markup on headless logic. "
        },
        {
          "t": "link",
          "href": "#datatables",
          "label": [
            {
              "t": "text",
              "text": "DataTables"
            }
          ]
        },
        {
          "t": "text",
          "text": " suits pages that add search and pagination to an existing HTML table."
        }
      ]
    },
    {
      "q": "What is TanStack Table?",
      "a": [
        {
          "t": "link",
          "href": "#tanstack-table-core",
          "label": [
            {
              "t": "text",
              "text": "TanStack Table"
            }
          ]
        },
        {
          "t": "text",
          "text": " is a headless library for tables and data grids in TypeScript and JavaScript. It manages table state and logic while the app renders every cell and control."
        }
      ]
    },
    {
      "q": "What is AG Grid?",
      "a": [
        {
          "t": "link",
          "href": "#ag-grid-community",
          "label": [
            {
              "t": "text",
              "text": "AG Grid Community"
            }
          ]
        },
        {
          "t": "text",
          "text": " builds data grids with sorting, filtering, pagination, and virtualized rendering. Its Community edition includes basic cell editors, and more editors come with the Enterprise edition."
        }
      ]
    },
    {
      "q": "What is Material React Table?",
      "a": [
        {
          "t": "link",
          "href": "#material-react-table",
          "label": [
            {
              "t": "text",
              "text": "Material React Table"
            }
          ]
        },
        {
          "t": "text",
          "text": " builds a Material UI table on top of TanStack Table. It provides editing modes, virtualization, and column pinning."
        }
      ]
    },
    {
      "q": "AG Grid vs TanStack Table: which should I use?",
      "a": [
        {
          "t": "link",
          "href": "#ag-grid-community",
          "label": [
            {
              "t": "text",
              "text": "AG Grid Community"
            }
          ]
        },
        {
          "t": "text",
          "text": " ships the grid interface, editors, and virtualization. "
        },
        {
          "t": "link",
          "href": "#tanstack-table-core",
          "label": [
            {
              "t": "text",
              "text": "TanStack Table"
            }
          ]
        },
        {
          "t": "text",
          "text": " supplies only the table logic and leaves the markup to the app."
        }
      ]
    }
  ],
  "facts": {
    "F1": {
      "label": "Library name, ag-grid-community",
      "display": "AG Grid Community",
      "asOf": "2026-11-17"
    },
    "F2": {
      "label": "Monthly downloads, ag-grid-community",
      "display": "18.8M",
      "asOf": "2026-11-11"
    },
    "F3": {
      "label": "License, ag-grid-community",
      "display": "MIT",
      "asOf": "2026-11-17"
    },
    "F4": {
      "label": "Package release, ag-grid-community",
      "display": "36.3.0",
      "asOf": "2026-11-17"
    },
    "F5": {
      "label": "Undated package release, ag-grid-community",
      "display": "v36.3.0",
      "asOf": "2026-11-17"
    },
    "F6": {
      "label": "Repository stars, ag-grid-community",
      "display": "15.7K",
      "asOf": "2026-11-17"
    },
    "F7": {
      "label": "Sorting, ag-grid-community",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F8": {
      "label": "Filtering, ag-grid-community",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F9": {
      "label": "Pagination, ag-grid-community",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F10": {
      "label": "Virtual rows, ag-grid-community",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F11": {
      "label": "Output formats, ag-grid-community",
      "display": "CSV",
      "asOf": "2026-11-17"
    },
    "F12": {
      "label": "Install, ag-grid-community",
      "display": "npm install ag-grid-community",
      "asOf": "2026-11-17"
    },
    "F13": {
      "label": "What it does, ag-grid-community",
      "display": "Builds configurable data grids with sorting, filtering, pagination, and virtualized rendering.",
      "asOf": "2026-11-17"
    },
    "F14": {
      "label": "strengths lead, ag-grid-community",
      "display": "Virtualizes rows and columns",
      "asOf": "2026-11-17"
    },
    "F15": {
      "label": "strengths, ag-grid-community",
      "display": "Render the visible viewport instead of every loaded cell.",
      "asOf": "2026-11-17"
    },
    "F16": {
      "label": "strengths lead, ag-grid-community",
      "display": "Exports CSV through the API",
      "asOf": "2026-11-17"
    },
    "F17": {
      "label": "strengths, ag-grid-community",
      "display": "Export grid data as CSV through an API call.",
      "asOf": "2026-11-17"
    },
    "F18": {
      "label": "limitations lead, ag-grid-community",
      "display": "Excel export requires Enterprise",
      "asOf": "2026-11-17"
    },
    "F19": {
      "label": "limitations, ag-grid-community",
      "display": "Advanced Excel export belongs to the licensed Enterprise edition.",
      "asOf": "2026-11-17"
    },
    "F20": {
      "label": "limitations lead, ag-grid-community",
      "display": "Formula-like CSV values need handling",
      "asOf": "2026-11-17"
    },
    "F21": {
      "label": "limitations, ag-grid-community",
      "display": "Transform formula-like cell values before exporting data for spreadsheet applications.",
      "asOf": "2026-11-17"
    },
    "F22": {
      "label": "Quickstart, ag-grid-community",
      "display": "import {\n  AllCommunityModule,\n  GridApi,\n  GridOptions,\n  ModuleRegistry,\n  createGrid,\n  enableDevValidations,\n} from \"ag-grid-community\";\n\nif (process.env.NODE_ENV !== \"production\") {\n  // Enable extended validations only for development\n  enableDevValidations();\n}\n\nModuleRegistry.registerModules([AllCommunityModule]);\n// Row Data Interface\ninterface IRow {\n  make: string;\n  model: string;\n  price: number;\n  electric: boolean;\n}\n\n// Grid API: Access to Grid API methods\nlet gridApi: GridApi;\n\n// Grid Options: Contains all of the grid configurations\nconst gridOptions: GridOptions<IRow> = {\n  // Data to be displayed\n  rowData: [\n    { make: \"Tesla\", model: \"Model Y\", price: 64950, electric: true },\n    { make: \"Ford\", model: \"F-Series\", price: 33850, electric: false },\n    { make: \"Toyota\", model: \"Corolla\", price: 29600, electric: false },\n    { make: \"Mercedes\", model: \"EQA\", price: 48890, electric: true },\n    { make: \"Fiat\", model: \"500\", price: 15774, electric: false },\n    { make: \"Nissan\", model: \"Juke\", price: 20675, electric: false },\n  ],\n  // Columns to be displayed (Should match rowData properties)\n  columnDefs: [\n    { field: \"make\" },\n    { field: \"model\" },\n    { field: \"price\" },\n    { field: \"electric\" },\n  ],\n  defaultColDef: {\n    flex: 1,\n  },\n};\n// Create Grid: Create new grid within the #myGrid div, using the Grid Options object\ngridApi = createGrid(\n  document.querySelector<HTMLElement>(\"#myGrid\")!,\n  gridOptions,\n);\n",
      "asOf": "2026-11-17"
    },
    "F23": {
      "label": "Library name, datatables.net",
      "display": "DataTables",
      "asOf": "2026-11-17"
    },
    "F24": {
      "label": "Monthly downloads, datatables.net",
      "display": "3.3M",
      "asOf": "2026-11-11"
    },
    "F25": {
      "label": "License, datatables.net",
      "display": "MIT",
      "asOf": "2026-11-17"
    },
    "F26": {
      "label": "Package release, datatables.net",
      "display": "3.1.5, Oct 2026",
      "asOf": "2026-10-30"
    },
    "F27": {
      "label": "Package release date, datatables.net",
      "display": "Oct 2026",
      "asOf": "2026-10-30"
    },
    "F28": {
      "label": "Repository stars, datatables.net",
      "display": "815",
      "asOf": "2026-11-17"
    },
    "F29": {
      "label": "Sorting, datatables.net",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F30": {
      "label": "Filtering, datatables.net",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F31": {
      "label": "Pagination, datatables.net",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F32": {
      "label": "Virtual rows, datatables.net",
      "display": "Via plugin",
      "asOf": "2026-11-17"
    },
    "F33": {
      "label": "Output formats, datatables.net",
      "display": "CSV (plugin)",
      "asOf": "2026-11-17"
    },
    "F34": {
      "label": "Install, datatables.net",
      "display": "npm install datatables.net",
      "asOf": "2026-11-17"
    },
    "F35": {
      "label": "What it does, datatables.net",
      "display": "Adds ordering, search, and pagination to HTML tables.",
      "asOf": "2026-11-17"
    },
    "F36": {
      "label": "strengths lead, datatables.net",
      "display": "Enhances existing HTML tables",
      "asOf": "2026-11-17"
    },
    "F37": {
      "label": "strengths, datatables.net",
      "display": "Add search, ordering, and pagination to a table by default.",
      "asOf": "2026-11-17"
    },
    "F38": {
      "label": "strengths lead, datatables.net",
      "display": "Supports server-side processing",
      "asOf": "2026-11-17"
    },
    "F39": {
      "label": "strengths, datatables.net",
      "display": "Send paging, ordering, and search requests to a backend.",
      "asOf": "2026-11-17"
    },
    "F40": {
      "label": "limitations lead, datatables.net",
      "display": "Virtual rows need Scroller",
      "asOf": "2026-11-17"
    },
    "F41": {
      "label": "limitations, datatables.net",
      "display": "Add the Scroller extension for virtual rendering.",
      "asOf": "2026-11-17"
    },
    "F42": {
      "label": "limitations lead, datatables.net",
      "display": "Scroller needs equal row heights",
      "asOf": "2026-11-17"
    },
    "F43": {
      "label": "limitations, datatables.net",
      "display": "Variable row heights break Scroller virtual row calculations.",
      "asOf": "2026-11-17"
    },
    "F44": {
      "label": "Quickstart, datatables.net",
      "display": "import DataTable from 'datatables.net';\n\nnew DataTable('#myTable', {\n    // initialisation options\n});\n",
      "asOf": "2026-11-17"
    },
    "F45": {
      "label": "Project function, datatables.net",
      "display": "function draw_oauth2_clients() {\n    // just recalc width if instance already exists\n    if ($.fn.DataTable.isDataTable('#oauth2clientstable') ) {\n      $('#oauth2clientstable').DataTable().columns.adjust().responsive.recalc();\n      return;\n    }\n\n    $('#oauth2clientstable').DataTable({\n      responsive: true,\n      processing: true,\n      serverSide: false,\n      stateSave: true,\n      pageLength: pagination_size,\n      dom: \"<'row'<'col-sm-12 col-md-6'f><'col-sm-12 col-md-6'l>>\" +\n           \"tr\" +\n           \"<'row'<'col-sm-12 col-md-5'i><'col-sm-12 col-md-7'p>>\",\n      language: lang_datatables,\n      ajax: {\n        type: \"GET\",\n        url: \"/api/v1/get/oauth2-client/all\",\n        dataSrc: function(data){\n          return process_table_data(data, 'oauth2clientstable');\n        }\n      },\n      columns: [\n        {\n          // placeholder, so checkbox will not block child row toggle\n          title: '',\n          data: null,\n          searchable: false,\n          orderable: false,\n          defaultContent: ''\n        },\n        {\n          title: '',\n          data: 'chkbox',\n          searchable: false,\n          orderable: false,\n          defaultContent: ''\n        },\n        {\n          title: 'ID',\n          data: 'id',\n          defaultContent: ''\n        },\n        {\n          title: lang.oauth2_client_id,\n          data: 'client_id',\n          defaultContent: ''\n        },\n        {\n          title: lang.oauth2_client_secret,\n          data: 'client_secret',\n          defaultContent: ''\n        },\n        {\n          title: lang.oauth2_redirect_uri,\n          data: 'redirect_uri',\n          defaultContent: ''\n        },\n        {\n          title: lang.action,\n          data: 'action',\n          className: 'dt-sm-head-hidden dt-text-right',\n          defaultContent: ''\n        },\n      ]\n    });\n  }\n",
      "asOf": "2026-11-17"
    },
    "F46": {
      "label": "Project function reference, datatables.net",
      "display": "admin.js · draw_oauth2_clients()",
      "asOf": "2026-11-17"
    },
    "F47": {
      "label": "Project repository, datatables.net",
      "display": "mailcow/mailcow-dockerized",
      "asOf": "2026-11-17"
    },
    "F48": {
      "label": "Project stars, mailcow/mailcow-dockerized",
      "display": "13.8K",
      "asOf": "2026-11-17"
    },
    "F49": {
      "label": "Project push date, mailcow/mailcow-dockerized",
      "display": "Nov 2026",
      "asOf": "2026-11-12"
    },
    "F50": {
      "label": "Library name, tabulator-tables",
      "display": "Tabulator",
      "asOf": "2026-11-17"
    },
    "F51": {
      "label": "Monthly downloads, tabulator-tables",
      "display": "941.5K",
      "asOf": "2026-11-11"
    },
    "F52": {
      "label": "License, tabulator-tables",
      "display": "MIT",
      "asOf": "2026-11-17"
    },
    "F53": {
      "label": "Package release, tabulator-tables",
      "display": "6.7.1, Oct 2026",
      "asOf": "2026-10-22"
    },
    "F54": {
      "label": "Package release date, tabulator-tables",
      "display": "Oct 2026",
      "asOf": "2026-10-22"
    },
    "F55": {
      "label": "Repository stars, tabulator-tables",
      "display": "7.8K",
      "asOf": "2026-11-17"
    },
    "F56": {
      "label": "Sorting, tabulator-tables",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F57": {
      "label": "Filtering, tabulator-tables",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F58": {
      "label": "Pagination, tabulator-tables",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F59": {
      "label": "Virtual rows, tabulator-tables",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F60": {
      "label": "Output formats, tabulator-tables",
      "display": "CSV",
      "asOf": "2026-11-17"
    },
    "F61": {
      "label": "Install, tabulator-tables",
      "display": "npm install tabulator-tables",
      "asOf": "2026-11-17"
    },
    "F62": {
      "label": "What it does, tabulator-tables",
      "display": "Builds data tables with field filtering, pagination, and virtual rendering.",
      "asOf": "2026-11-17"
    },
    "F63": {
      "label": "strengths lead, tabulator-tables",
      "display": "Filters any data field",
      "asOf": "2026-11-17"
    },
    "F64": {
      "label": "strengths, tabulator-tables",
      "display": "Filter table rows by fields in the dataset.",
      "asOf": "2026-11-17"
    },
    "F65": {
      "label": "strengths lead, tabulator-tables",
      "display": "Supports local and remote pagination",
      "asOf": "2026-11-17"
    },
    "F66": {
      "label": "strengths, tabulator-tables",
      "display": "Paginate loaded data locally or request individual pages from a server.",
      "asOf": "2026-11-17"
    },
    "F67": {
      "label": "limitations lead, tabulator-tables",
      "display": "Virtual rows need table height",
      "asOf": "2026-11-17"
    },
    "F68": {
      "label": "limitations, tabulator-tables",
      "display": "Set a table height to activate virtual rendering.",
      "asOf": "2026-11-17"
    },
    "F69": {
      "label": "limitations lead, tabulator-tables",
      "display": "Workbook export needs SheetJS",
      "asOf": "2026-11-17"
    },
    "F70": {
      "label": "limitations, tabulator-tables",
      "display": "Include SheetJS when exporting table data as Excel workbooks.",
      "asOf": "2026-11-17"
    },
    "F71": {
      "label": "Quickstart, tabulator-tables",
      "display": "import {TabulatorFull as Tabulator} from 'tabulator-tables';\n\n//define some sample data\n var tabledata = [\n \t{id:1, name:\"Oli Bob\", age:\"12\", col:\"red\", dob:\"\"},\n \t{id:2, name:\"Mary May\", age:\"1\", col:\"blue\", dob:\"14/05/1982\"},\n \t{id:3, name:\"Christine Lobowski\", age:\"42\", col:\"green\", dob:\"22/05/1982\"},\n \t{id:4, name:\"Brendon Philips\", age:\"125\", col:\"orange\", dob:\"01/08/1980\"},\n \t{id:5, name:\"Margret Marmajuke\", age:\"16\", col:\"yellow\", dob:\"31/01/1999\"},\n ];\n\n//create Tabulator on DOM element with id \"example-table\"\nvar table = new Tabulator(\"#example-table\", {\n \theight:205, // set height of table (in CSS or here), this enables the Virtual DOM and improves render speed dramatically (can be any valid css height value)\n \tdata:tabledata, //assign data to table\n \tlayout:\"fitColumns\", //fit columns to width of table (optional)\n \tcolumns:[ //Define Table Columns\n\t \t{title:\"Name\", field:\"name\", width:150},\n\t \t{title:\"Age\", field:\"age\", hozAlign:\"left\", formatter:\"progress\"},\n\t \t{title:\"Favourite Color\", field:\"col\"},\n\t \t{title:\"Date Of Birth\", field:\"dob\", sorter:\"date\", hozAlign:\"center\"},\n \t],\n});\n\n//trigger an alert message when the row is clicked\ntable.on(\"rowClick\", function(e, row){ \n\talert(\"Row \" + row.getData().id + \" Clicked!!!!\");\n});\n",
      "asOf": "2026-11-17"
    },
    "F72": {
      "label": "Project function, tabulator-tables",
      "display": "export function tabulatorForTableData(\n  el: string | HTMLElement,\n  options: Options\n): TabulatorFull {\n  const { table, schema, onSelectedCellsChange: onCellsChange, ...tabulatorOptions } = options;\n  const defaultOptions: Options = {\n    persistence: {\n      columns: [\"width\", \"visible\"],\n    },\n    persistenceMode: \"local\",\n    persistenceWriterFunc: (id: string, type: string, data: unknown) => {\n      try {\n        localStorage.setItem(`${id}-${type}`, JSON.stringify(data));\n      } catch (e) {\n        log.warn(e);\n      }\n    },\n    renderHorizontal: \"virtual\",\n    autoResize: false,\n    nestedFieldSeparator: false,\n    selectableRange: true,\n    selectableRangeColumns: true,\n    selectableRangeMode: \"ctrl\",\n    selectableRangeAutoFocus: false,\n    selectableRangeRows: true,\n    selectableRangeFill: true,\n    selectableRangeBlurEditOnNavigate: true,\n    selectableRangeCommitEditOnNavigate: true,\n    resizableColumnGuide: true,\n    movableColumns: true,\n    height: \"100%\",\n    editTriggerEvent: window.bksConfig.ui.tableTable.editTrigger === \"click\"\n      ? \"click\"\n      : \"dblclick\",\n    debugInvalidComponentFuncs: false,\n    history: true,\n    keybindings: {\n      undo: window.bksConfig.getKeybindings(\"tabulator\", \"general.undo\"),\n      redo: window.bksConfig.getKeybindings(\"tabulator\", \"general.redo\"),\n      scrollToStart: false,\n      scrollToEnd: false,\n    },\n    rowHeader: {\n      field: rowHeaderField,\n      resizable: false,\n      frozen: true,\n      headerSort: false,\n      editor: false,\n      htmlOutput: false,\n      print: false,\n      clipboard: false,\n      download: false,\n      minWidth: 38,\n      width: 38,\n      hozAlign: \"center\",\n      formatter: \"rownum\",\n      formatterParams: {\n        relativeToPage: true,\n        binaryEncoding: window.bksConfig.ui.general.binaryEncoding,\n      },\n    },\n  };\n  const mergedOptions = _.merge(defaultOptions, tabulatorOptions);\n  const tabulator = new TabulatorFull(el, mergedOptions);\n\n  if (options.onRangeChange) {\n    const onRangeChange = () => {\n      options.onRangeChange(tabulator.getRanges());\n    };\n    tabulator.on(\"cellMouseUp\", onRangeChange);\n    tabulator.on(\"headerMouseUp\", onRangeChange);\n    tabulator.on(\n      \"keyNavigate\",\n      // This is slow if we do a long press. Debounce it so it feels good.\n      _.debounce(onRangeChange, 100, {\n        leading: true, trailing: true\n      })\n    );\n    // Tabulator range is reset after data is processed\n    tabulator.on(\"dataProcessed\", onRangeChange);\n  }\n  if (onCellsChange) {\n    onSelectedCellsChange(tabulator, onCellsChange);\n  }\n  return tabulator\n}\n",
      "asOf": "2026-11-17"
    },
    "F73": {
      "label": "Project function reference, tabulator-tables",
      "display": "tabulator.ts · tabulatorForTableData()",
      "asOf": "2026-11-17"
    },
    "F74": {
      "label": "Project repository, tabulator-tables",
      "display": "beekeeper-studio/beekeeper-studio",
      "asOf": "2026-11-17"
    },
    "F75": {
      "label": "Project stars, beekeeper-studio/beekeeper-studio",
      "display": "23.9K",
      "asOf": "2026-11-17"
    },
    "F76": {
      "label": "Project push date, beekeeper-studio/beekeeper-studio",
      "display": "Nov 2026",
      "asOf": "2026-11-12"
    },
    "F77": {
      "label": "Library name, bootstrap-table",
      "display": "Bootstrap Table",
      "asOf": "2026-11-17"
    },
    "F78": {
      "label": "Monthly downloads, bootstrap-table",
      "display": "153.7K",
      "asOf": "2026-11-11"
    },
    "F79": {
      "label": "License, bootstrap-table",
      "display": "MIT",
      "asOf": "2026-11-17"
    },
    "F80": {
      "label": "Package release, bootstrap-table",
      "display": "1.28.0, Oct 2026",
      "asOf": "2026-10-28"
    },
    "F81": {
      "label": "Package release date, bootstrap-table",
      "display": "Oct 2026",
      "asOf": "2026-10-28"
    },
    "F82": {
      "label": "Repository stars, bootstrap-table",
      "display": "11.8K",
      "asOf": "2026-11-17"
    },
    "F83": {
      "label": "Sorting, bootstrap-table",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F84": {
      "label": "Filtering, bootstrap-table",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F85": {
      "label": "Pagination, bootstrap-table",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F86": {
      "label": "Virtual rows, bootstrap-table",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F87": {
      "label": "Output formats, bootstrap-table",
      "display": "CSV (plugin)",
      "asOf": "2026-11-17"
    },
    "F88": {
      "label": "Install, bootstrap-table",
      "display": "npm install bootstrap-table",
      "asOf": "2026-11-17"
    },
    "F89": {
      "label": "What it does, bootstrap-table",
      "display": "Enhances HTML tables with sorting, search, pagination, and extensions.",
      "asOf": "2026-11-17"
    },
    "F90": {
      "label": "strengths lead, bootstrap-table",
      "display": "Includes table search",
      "asOf": "2026-11-17"
    },
    "F91": {
      "label": "strengths, bootstrap-table",
      "display": "Enable the search input to filter displayed rows.",
      "asOf": "2026-11-17"
    },
    "F92": {
      "label": "strengths lead, bootstrap-table",
      "display": "Supports server pagination",
      "asOf": "2026-11-17"
    },
    "F93": {
      "label": "strengths, bootstrap-table",
      "display": "Request rows from a backend using offset and limit parameters.",
      "asOf": "2026-11-17"
    },
    "F94": {
      "label": "limitations lead, bootstrap-table",
      "display": "Virtual rows need equal heights",
      "asOf": "2026-11-17"
    },
    "F95": {
      "label": "limitations, bootstrap-table",
      "display": "Keep virtualized row heights consistent to avoid unpredictable rendering.",
      "asOf": "2026-11-17"
    },
    "F96": {
      "label": "limitations lead, bootstrap-table",
      "display": "Needs the jQuery integration stack",
      "asOf": "2026-11-17"
    },
    "F97": {
      "label": "limitations, bootstrap-table",
      "display": "Load jQuery before Bootstrap and the table plugin.",
      "asOf": "2026-11-17"
    },
    "F98": {
      "label": "Quickstart, bootstrap-table",
      "display": "<!doctype html>\n<html lang=\"en\">\n  <head>\n    <!-- Required meta tags -->\n    <meta charset=\"utf-8\">\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1, shrink-to-fit=no\">\n    <title>Hello, Bootstrap Table!</title>\n\n    <link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css\">\n    <link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.css\">\n    <link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/npm/bootstrap-table@1.28.0/dist/bootstrap-table.min.css\">\n  </head>\n  <body>\n    <table data-toggle=\"table\">\n      <thead>\n        <tr>\n          <th>Item ID</th>\n          <th>Item Name</th>\n          <th>Item Price</th>\n        </tr>\n      </thead>\n      <tbody>\n        <tr>\n          <td>1</td>\n          <td>Item 1</td>\n          <td>$1</td>\n        </tr>\n        <tr>\n          <td>2</td>\n          <td>Item 2</td>\n          <td>$2</td>\n        </tr>\n      </tbody>\n    </table>\n\n    <script src=\"https://cdn.jsdelivr.net/npm/jquery@3.7.1/dist/jquery.min.js\"></script>\n    <script src=\"https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js\"></script>\n    <script src=\"https://cdn.jsdelivr.net/npm/bootstrap-table@1.28.0/dist/bootstrap-table.min.js\"></script>\n  </body>\n</html>\n",
      "asOf": "2026-11-17"
    },
    "F99": {
      "label": "Project function, bootstrap-table",
      "display": "function get_auditlist() {\n            //采取异步请求\n            //初始化table\n            $('#audit-list').bootstrapTable('destroy').bootstrapTable({\n                escape: true,\n                method: 'post',\n                contentType: \"application/x-www-form-urlencoded\",\n                url: \"/workflow/list/\",\n                striped: true,                      //是否显示行间隔色\n                cache: false,                       //是否使用缓存，默认为true，所以一般情况下需要设置一下这个属性（*）\n                pagination: true,                   //是否显示分页（*）\n                sortable: true,                     //是否启用排序\n                sortOrder: \"asc\",                   //排序方式\n                sidePagination: \"server\",           //分页方式：client客户端分页，server服务端分页（*）\n                pageNumber: 1,                      //初始化加载第一页，默认第一页,并记录\n                pageSize: 20,                     //每页的记录行数（*）\n                pageList: [20, 30, 50, 100],       //可供选择的每页的行数（*）\n                search: true,                      //是否显示表格搜索\n                strictSearch: false,                //是否全匹配搜索\n                showColumns: true,                  //是否显示所有的列（选择显示的列）\n                showRefresh: true,                  //是否显示刷新按钮\n                minimumCountColumns: 2,             //最少允许的列数\n                clickToSelect: true,                //是否启用点击选中行\n                uniqueId: \"id\",                     //每一行的唯一标识，一般为主键列\n                showToggle: true,                   //是否显示详细视图和列表视图的切换按钮\n                cardView: false,                    //是否显示详细视图\n                detailView: false,                  //是否显示父子表\n                locale: 'zh-CN',                    //本地化\n                toolbar: \"#toolbar\",               //指明自定义的toolbar\n                queryParamsType: 'limit',\n                //请求服务数据时所传参数\n                queryParams:\n                    function (params) {\n                        return {\n                            limit: params.limit,\n                            offset: params.offset,\n                            workflow_type: $(\"#workflow_type\").val(),\n                            search: params.search\n                        }\n                    },\n                columns: [{\n                    title: '申请标题',\n                    field: 'workflow_title',\n                    formatter: function (value, row, index) {\n                        return \"<a href='/workflow/\" + row.audit_id + \"/'>\" + value + \"</a>\";\n                    }\n                }, {\n                    title: '组',\n                    field: 'group_name'\n                }, {\n                    title: '申请类型',\n                    field: 'workflow_type',\n                    formatter: function (value, row, index) {\n                        return workflow_type_formatter(value)\n                    }\n                }, {\n                    title: '申请人',\n                    field: 'create_user_display'\n                }, {\n                    title: '申请时间',\n                    field: 'create_time'\n                }, {\n                    title: '审核状态',\n                    field: 'current_status',\n                    formatter: function (value, row, index) {\n                        return workflow_status_formatter(value)\n                    }\n                }, {\n                    title: '操作',\n                    field: 'id',\n                    formatter: function (value, row, index) {\n                        // 当前审核人\n                        return \"<button class=\\\"btn btn-default btn-xs\\\" \" +\n                            \"onclick=\\\"javascrtpt:window.location.href='/workflow/\" + row.audit_id + \"/'\\\">\" +\n                            \"审核</button>\\n\"\n\n                    }\n                }],\n                onLoadSuccess: function () {\n                },\n                onLoadError: onLoadErrorCallback,\n                onSearch: function (e) {\n                    //传搜索参数给服务器\n                    queryParams(e)\n                },\n                responseHandler: function (res) {\n                    //在ajax获取到数据，渲染表格之前，修改数据源\n                    return res;\n                }\n            });\n\n        }\n",
      "asOf": "2026-11-17"
    },
    "F100": {
      "label": "Project function reference, bootstrap-table",
      "display": "workflow.html · get_auditlist()",
      "asOf": "2026-11-17"
    },
    "F101": {
      "label": "Project repository, bootstrap-table",
      "display": "hhyo/Archery",
      "asOf": "2026-11-17"
    },
    "F102": {
      "label": "Project stars, hhyo/Archery",
      "display": "7.1K",
      "asOf": "2026-11-17"
    },
    "F103": {
      "label": "Project push date, hhyo/Archery",
      "display": "Oct 2026",
      "asOf": "2026-10-31"
    },
    "F104": {
      "label": "Developer need",
      "display": "Existing HTML tables",
      "asOf": "2026-11-17"
    },
    "F105": {
      "label": "Why choose datatables.net",
      "display": "default table controls",
      "asOf": "2026-11-17"
    },
    "F106": {
      "label": "Developer need in introduction",
      "display": "existing HTML tables",
      "asOf": "2026-11-17"
    },
    "F107": {
      "label": "Developer need",
      "display": "Field-based data filtering",
      "asOf": "2026-11-17"
    },
    "F108": {
      "label": "Why choose tabulator-tables",
      "display": "dataset field filters",
      "asOf": "2026-11-17"
    },
    "F109": {
      "label": "Developer need in introduction",
      "display": "field-based data filtering",
      "asOf": "2026-11-17"
    },
    "F110": {
      "label": "Developer need",
      "display": "Bootstrap table interfaces",
      "asOf": "2026-11-17"
    },
    "F111": {
      "label": "Why choose bootstrap-table",
      "display": "built-in search controls",
      "asOf": "2026-11-17"
    },
    "F112": {
      "label": "Developer need in introduction",
      "display": "Bootstrap Table interfaces",
      "asOf": "2026-11-17"
    },
    "F113": {
      "label": "Developer need",
      "display": "Virtualized application grids",
      "asOf": "2026-11-17"
    },
    "F114": {
      "label": "Why choose ag-grid-community",
      "display": "row and column virtualization",
      "asOf": "2026-11-17"
    },
    "F115": {
      "label": "Developer need in introduction",
      "display": "virtualized application grids",
      "asOf": "2026-11-17"
    },
    "F116": {
      "label": "Page introduction",
      "display": "JavaScript table libraries let web developers display and interact with tabular data.",
      "asOf": "2026-11-17"
    },
    "F117": {
      "label": "Library name, @tanstack/table-core",
      "display": "TanStack Table",
      "asOf": "2026-11-20"
    },
    "F118": {
      "label": "Monthly downloads, @tanstack/table-core",
      "display": "145.4M",
      "asOf": "2026-11-20"
    },
    "F119": {
      "label": "License, @tanstack/table-core",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F120": {
      "label": "Package release, @tanstack/table-core",
      "display": "9.3.1",
      "asOf": "2026-11-20"
    },
    "F121": {
      "label": "Package release date, @tanstack/table-core",
      "display": "Oct 2026",
      "asOf": "2026-11-20"
    },
    "F122": {
      "label": "Install, @tanstack/table-core",
      "display": "npm install @tanstack/table-core",
      "asOf": "2026-11-20"
    },
    "F123": {
      "label": "Quickstart, @tanstack/table-core",
      "display": "import { constructTable, tableFeatures } from '@tanstack/table-core'\nimport { storeReactivityBindings } from '@tanstack/table-core/store-reactivity-bindings'\n\nconst features = tableFeatures({\n  coreReactivityFeature: storeReactivityBindings(),\n})\nconst table = constructTable({\n  features,\n  data: [{ firstName: 'tanner' }],\n  columns: [{ accessorKey: 'firstName', header: 'First Name' }],\n})\nconsole.log(table.getRowModel().rows)\n",
      "asOf": "2026-11-20"
    },
    "F124": {
      "label": "Official description, @tanstack/table-core",
      "display": "Provides headless logic for building tables and data grids in TypeScript and JavaScript.",
      "asOf": "2026-11-20"
    },
    "F125": {
      "label": "Quickstart source file, @tanstack/table-core",
      "display": "docs/framework/vanilla/quick-start.md",
      "asOf": "2026-11-20"
    },
    "F126": {
      "label": "Repository stars, @tanstack/table-core",
      "display": "28.6K",
      "asOf": "2026-11-20"
    },
    "F127": {
      "label": "Cell editing UI, @tanstack/table-core",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F128": {
      "label": "Row virtualization, @tanstack/table-core",
      "display": "Via plugin",
      "asOf": "2026-11-20"
    },
    "F129": {
      "label": "Column pinning, @tanstack/table-core",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F130": {
      "label": "Framework surface, @tanstack/table-core",
      "display": "Headless framework-agnostic TypeScript/JavaScript engine; separate React/Vue/etc adapters.",
      "asOf": "2026-11-20"
    },
    "F131": {
      "label": "License and optional editions, @tanstack/table-core",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F132": {
      "label": "Project function, @tanstack/table-core",
      "display": "const TxHistoryTableRow = ({ row }: { row: Row<typeof txHistoryTableFeatures, HistoryEntry> }) => {\n  return (\n    <>\n      <TableRow key={row.id}>\n        {row.getVisibleCells().map((cell) => {\n          const meta = cell.column.columnDef.meta as { align?: string } | undefined\n          const alignCenter = meta?.align === 'center'\n          const alignRight = meta?.align === 'right'\n          return (\n            <TableCell\n              key={cell.id}\n              className={cn({\n                'text-center': alignCenter,\n                'text-right': alignRight,\n              })}\n            >\n              {flexRender(cell.column.columnDef.cell, cell.getContext())}\n            </TableCell>\n          )\n        })}\n      </TableRow>\n      {row.getIsExpanded() && (\n        <TableRow>\n          <TableCell colSpan={row.getAllCells().length} className=\"p-2\">\n            <TxHistoryDetails entry={row.original} />\n          </TableCell>\n        </TableRow>\n      )}\n    </>\n  )\n}\n",
      "asOf": "2026-11-20"
    },
    "F133": {
      "label": "Project source file, @tanstack/table-core",
      "display": "src/components/wallet/TxHistoryTable.tsx",
      "asOf": "2026-11-20"
    },
    "F134": {
      "label": "Project full_name, @tanstack/table-core",
      "display": "joinmarket-webui/jam",
      "asOf": "2026-11-20"
    },
    "F135": {
      "label": "Project stargazers_count, @tanstack/table-core",
      "display": "337",
      "asOf": "2026-11-20"
    },
    "F136": {
      "label": "Library name, ag-grid-community",
      "display": "AG Grid Community",
      "asOf": "2026-11-20"
    },
    "F137": {
      "label": "Monthly downloads, ag-grid-community",
      "display": "20.5M",
      "asOf": "2026-11-20"
    },
    "F138": {
      "label": "License, ag-grid-community",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F139": {
      "label": "Package release, ag-grid-community",
      "display": "36.3.0",
      "asOf": "2026-11-20"
    },
    "F140": {
      "label": "Package release date, ag-grid-community",
      "display": "Nov 2026",
      "asOf": "2026-11-20"
    },
    "F141": {
      "label": "Install, ag-grid-community",
      "display": "npm install ag-grid-community",
      "asOf": "2026-11-20"
    },
    "F142": {
      "label": "Quickstart, ag-grid-community",
      "display": "import { AllCommunityModule, ModuleRegistry, createGrid } from 'ag-grid-community';\nModuleRegistry.registerModules([AllCommunityModule]);\nconst grid = document.querySelector('#myGrid');\ncreateGrid(grid, {\n  columnDefs: [{ field: 'make' }],\n  rowData: [{ make: 'Toyota' }],\n});\n",
      "asOf": "2026-11-20"
    },
    "F143": {
      "label": "Repository stars, ag-grid-community",
      "display": "15.7K",
      "asOf": "2026-11-20"
    },
    "F144": {
      "label": "Cell editing UI, ag-grid-community",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F145": {
      "label": "Row virtualization, ag-grid-community",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F146": {
      "label": "Column pinning, ag-grid-community",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F147": {
      "label": "Framework surface, ag-grid-community",
      "display": "Framework-agnostic grid engine; React/Angular/Vue wrappers are separate distributions.",
      "asOf": "2026-11-20"
    },
    "F148": {
      "label": "License and optional editions, ag-grid-community",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F149": {
      "label": "Project function, ag-grid-community",
      "display": "private attachStreamlitRerunToEvents(api: GridApi) {\n    const updateEvents = this.props.args.update_on\n\n    updateEvents.forEach((element: any) => {\n      if (Array.isArray(element)) {\n        // If element is a tuple (eventName, timeout), apply debounce for the timeout duration\n        const [eventName, timeout] = element\n        api.addEventListener(\n          eventName,\n          debounce(\n            (e: any) => {\n              this.returnGridValue(e, eventName)\n            },\n            timeout,\n            {\n              leading: false,\n              trailing: true,\n              maxWait: timeout,\n            }\n          )\n        )\n      } else {\n        // Attach event listener for non-tuple events\n        api.addEventListener(element, (e: any) => {\n          this.returnGridValue(e, element)\n        })\n      }\n      if (this.state.debug) {\n        console.log(`Attached grid return event: ${element}`)\n      }\n    })\n  }\n",
      "asOf": "2026-11-20"
    },
    "F150": {
      "label": "Project source file, ag-grid-community",
      "display": "st_aggrid/frontend/src/AgGrid.tsx",
      "asOf": "2026-11-20"
    },
    "F151": {
      "label": "Project full_name, ag-grid-community",
      "display": "PablocFonseca/streamlit-aggrid",
      "asOf": "2026-11-20"
    },
    "F152": {
      "label": "Project stargazers_count, ag-grid-community",
      "display": "1.3K",
      "asOf": "2026-11-20"
    },
    "F153": {
      "label": "Library name, @mui/x-data-grid",
      "display": "MUI X Data Grid",
      "asOf": "2026-11-20"
    },
    "F154": {
      "label": "Monthly downloads, @mui/x-data-grid",
      "display": "16.3M",
      "asOf": "2026-11-20"
    },
    "F155": {
      "label": "License, @mui/x-data-grid",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F156": {
      "label": "Package release, @mui/x-data-grid",
      "display": "9.18.0",
      "asOf": "2026-11-20"
    },
    "F157": {
      "label": "Package release date, @mui/x-data-grid",
      "display": "Nov 2026",
      "asOf": "2026-11-20"
    },
    "F158": {
      "label": "Install, @mui/x-data-grid",
      "display": "npm install @mui/x-data-grid @mui/material @emotion/react @emotion/styled",
      "asOf": "2026-11-20"
    },
    "F159": {
      "label": "Quickstart, @mui/x-data-grid",
      "display": "import { DataGrid } from '@mui/x-data-grid';\nconst rows = [{ id: 1, name: 'Ada' }];\nconst columns = [{ field: 'name', headerName: 'Name', width: 150 }];\nexport default function App() {\n  return <div style={{ height: 300, width: '100%' }}>\n    <DataGrid rows={rows} columns={columns} />\n  </div>;\n}\n",
      "asOf": "2026-11-20"
    },
    "F160": {
      "label": "Official description, @mui/x-data-grid",
      "display": "Provides the Community edition of the MUI X Data Grid components.",
      "asOf": "2026-11-20"
    },
    "F161": {
      "label": "Quickstart source file, @mui/x-data-grid",
      "display": "quickstart.mdx",
      "asOf": "2026-11-20"
    },
    "F162": {
      "label": "Repository stars, @mui/x-data-grid",
      "display": "5.9K",
      "asOf": "2026-11-20"
    },
    "F163": {
      "label": "Cell editing UI, @mui/x-data-grid",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F164": {
      "label": "Row virtualization, @mui/x-data-grid",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F165": {
      "label": "Column pinning, @mui/x-data-grid",
      "display": "Via plugin",
      "asOf": "2026-11-20"
    },
    "F166": {
      "label": "Framework surface, @mui/x-data-grid",
      "display": "React component; Community package distinct from commercial Pro/Premium tiers.",
      "asOf": "2026-11-20"
    },
    "F167": {
      "label": "License and optional editions, @mui/x-data-grid",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F168": {
      "label": "Declared peer requirements, @mui/x-data-grid",
      "display": "{\"react\": \"^17.0.0 || ^18.0.0 || ^19.0.0\", \"react-dom\": \"^17.0.0 || ^18.0.0 || ^19.0.0\", \"@mui/system\": \"^7.3.0 || ^9.0.0\", \"@mui/material\": \"^7.3.0 || ^9.0.0\", \"@emotion/react\": \"^11.9.0\", \"@emotion/styled\": \"^11.8.1\"}",
      "asOf": "2026-11-20"
    },
    "F169": {
      "label": "Project function, @mui/x-data-grid",
      "display": "export default function EmployeeList() {\n  const { pathname } = useLocation();\n  const [searchParams] = useSearchParams();\n  const navigate = useNavigate();\n\n  const dialogs = useDialogs();\n  const notifications = useNotifications();\n\n  const [paginationModel, setPaginationModel] = React.useState<GridPaginationModel>({\n    page: searchParams.get('page') ? Number(searchParams.get('page')) : 0,\n    pageSize: searchParams.get('pageSize')\n      ? Number(searchParams.get('pageSize'))\n      : INITIAL_PAGE_SIZE,\n  });\n  const [filterModel, setFilterModel] = React.useState<GridFilterModel>(\n    searchParams.get('filter')\n      ? JSON.parse(searchParams.get('filter') ?? '')\n      : { items: [] },\n  );\n  const [sortModel, setSortModel] = React.useState<GridSortModel>(\n    searchParams.get('sort') ? JSON.parse(searchParams.get('sort') ?? '') : [],\n  );\n\n  const [rowsState, setRowsState] = React.useState<{\n    rows: Employee[];\n    rowCount: number;\n  }>({\n    rows: [],\n    rowCount: 0,\n  });\n\n  const [isLoading, setIsLoading] = React.useState(true);\n  const [error, setError] = React.useState<Error | null>(null);\n\n  const handlePaginationModelChange = React.useCallback(\n    (model: GridPaginationModel) => {\n      setPaginationModel(model);\n\n      searchParams.set('page', String(model.page));\n      searchParams.set('pageSize', String(model.pageSize));\n\n      const newSearchParamsString = searchParams.toString();\n\n      navigate(\n        `${pathname}${newSearchParamsString ? '?' : ''}${newSearchParamsString}`,\n      );\n    },\n    [navigate, pathname, searchParams],\n  );\n\n  const handleFilterModelChange = React.useCallback(\n    (model: GridFilterModel) => {\n      setFilterModel(model);\n\n      if (\n        model.items.length > 0 ||\n        (model.quickFilterValues && model.quickFilterValues.length > 0)\n      ) {\n        searchParams.set('filter', JSON.stringify(model));\n      } else {\n        searchParams.delete('filter');\n      }\n\n      const newSearchParamsString = searchParams.toString();\n\n      navigate(\n        `${pathname}${newSearchParamsString ? '?' : ''}${newSearchParamsString}`,\n      );\n    },\n    [navigate, pathname, searchParams],\n  );\n\n  const handleSortModelChange = React.useCallback(\n    (model: GridSortModel) => {\n      setSortModel(model);\n\n      if (model.length > 0) {\n        searchParams.set('sort', JSON.stringify(model));\n      } else {\n        searchParams.delete('sort');\n      }\n\n      const newSearchParamsString = searchParams.toString();\n\n      navigate(\n        `${pathname}${newSearchParamsString ? '?' : ''}${newSearchParamsString}`,\n      );\n    },\n    [navigate, pathname, searchParams],\n  );\n\n  const loadData = React.useCallback(async () => {\n    setError(null);\n    setIsLoading(true);\n\n    try {\n      const listData = await getEmployees({\n        paginationModel,\n        sortModel,\n        filterModel,\n      });\n\n      setRowsState({\n        rows: listData.items,\n        rowCount: listData.itemCount,\n      });\n    } catch (listDataError) {\n      setError(listDataError as Error);\n    }\n\n    setIsLoading(false);\n  }, [paginationModel, sortModel, filterModel]);\n\n  React.useEffect(() => {\n    loadData();\n  }, [loadData]);\n\n  const handleRefresh = React.useCallback(() => {\n    if (!isLoading) {\n      loadData();\n    }\n  }, [isLoading, loadData]);\n\n  const handleRowClick = React.useCallback<GridEventListener<'rowClick'>>(\n    ({ row }) => {\n      navigate(`/employees/${row.id}`);\n    },\n    [navigate],\n  );\n\n  const handleCreateClick = React.useCallback(() => {\n    navigate('/employees/new');\n  }, [navigate]);\n\n  const handleRowEdit = React.useCallback(\n    (employee: Employee) => () => {\n      navigate(`/employees/${employee.id}/edit`);\n    },\n    [navigate],\n  );\n\n  const handleRowDelete = React.useCallback(\n    (employee: Employee) => async () => {\n      const confirmed = await dialogs.confirm(\n        `Do you wish to delete ${employee.name}?`,\n        {\n          title: `Delete employee?`,\n          severity: 'error',\n          okText: 'Delete',\n          cancelText: 'Cancel',\n        },\n      );\n\n      if (confirmed) {\n        setIsLoading(true);\n        try {\n          await deleteEmployee(Number(employee.id));\n\n          notifications.show('Employee deleted successfully.', {\n            severity: 'success',\n            autoHideDuration: 3000,\n          });\n          loadData();\n        } catch (deleteError) {\n          notifications.show(\n            `Failed to delete employee. Reason:' ${(deleteError as Error).message}`,\n            {\n              severity: 'error',\n              autoHideDuration: 3000,\n            },\n          );\n        }\n        setIsLoading(false);\n      }\n    },\n    [dialogs, notifications, loadData],\n  );\n\n  const initialState = React.useMemo(\n    () => ({\n      pagination: { paginationModel: { pageSize: INITIAL_PAGE_SIZE } },\n    }),\n    [],\n  );\n\n  const columns = React.useMemo<GridColDef[]>(\n    () => [\n      { field: 'id', headerName: 'ID' },\n      { field: 'name', headerName: 'Name', width: 140 },\n      { field: 'age', headerName: 'Age', type: 'number' },\n      {\n        field: 'joinDate',\n        headerName: 'Join date',\n        type: 'date',\n        valueGetter: (value) => value && new Date(value),\n        width: 140,\n      },\n      {\n        field: 'role',\n        headerName: 'Department',\n        type: 'singleSelect',\n        valueOptions: ['Market', 'Finance', 'Development'],\n        width: 160,\n      },\n      { field: 'isFullTime', headerName: 'Full-time', type: 'boolean' },\n      {\n        field: 'actions',\n        type: 'actions',\n        flex: 1,\n        align: 'right',\n        getActions: ({ row }) => [\n          <GridActionsCellItem\n            key=\"edit-item\"\n            icon={<EditIcon />}\n            label=\"Edit\"\n            onClick={handleRowEdit(row)}\n          />,\n          <GridActionsCellItem\n            key=\"delete-item\"\n            icon={<DeleteIcon />}\n            label=\"Delete\"\n            onClick={handleRowDelete(row)}\n          />,\n        ],\n      },\n    ],\n    [handleRowEdit, handleRowDelete],\n  );\n\n  const pageTitle = 'Employees';\n\n  return (\n    <PageContainer\n      title={pageTitle}\n      breadcrumbs={[{ title: pageTitle }]}\n      actions={\n        <Stack direction=\"row\" spacing={1} sx={{ alignItems: 'center' }}>\n          <Tooltip title=\"Reload data\" placement=\"right\" enterDelay={1000}>\n            <div>\n              <IconButton size=\"small\" aria-label=\"refresh\" onClick={handleRefresh}>\n                <RefreshIcon />\n              </IconButton>\n            </div>\n          </Tooltip>\n          <Button\n            variant=\"contained\"\n            onClick={handleCreateClick}\n            startIcon={<AddIcon />}\n          >\n            Create\n          </Button>\n        </Stack>\n      }\n    >\n      <Box sx={{ flex: 1, width: '100%' }}>\n        {error ? (\n          <Box sx={{ flexGrow: 1 }}>\n            <Alert severity=\"error\">{error.message}</Alert>\n          </Box>\n        ) : (\n          <DataGrid\n            rows={rowsState.rows}\n            rowCount={rowsState.rowCount}\n            columns={columns}\n            pagination\n            sortingMode=\"server\"\n            filterMode=\"server\"\n            paginationMode=\"server\"\n            paginationModel={paginationModel}\n            onPaginationModelChange={handlePaginationModelChange}\n            sortModel={sortModel}\n            onSortModelChange={handleSortModelChange}\n            filterModel={filterModel}\n            onFilterModelChange={handleFilterModelChange}\n            disableRowSelectionOnClick\n            onRowClick={handleRowClick}\n            loading={isLoading}\n            initialState={initialState}\n            showToolbar\n            pageSizeOptions={[5, INITIAL_PAGE_SIZE, 25]}\n            sx={{\n              [`& .${gridClasses.columnHeader}, & .${gridClasses.cell}`]: {\n                outline: 'transparent',\n              },\n              [`& .${gridClasses.columnHeader}:focus-within, & .${gridClasses.cell}:focus-within`]:\n                {\n                  outline: 'none',\n                },\n              [`& .${gridClasses.row}:hover`]: {\n                cursor: 'pointer',\n              },\n            }}\n            slotProps={{\n              loadingOverlay: {\n                variant: 'circular-progress',\n                noRowsVariant: 'circular-progress',\n              },\n              baseIconButton: {\n                size: 'small',\n              },\n            }}\n          />\n        )}\n      </Box>\n    </PageContainer>\n  );\n}\n",
      "asOf": "2026-11-20"
    },
    "F170": {
      "label": "Project source file, @mui/x-data-grid",
      "display": "docs/data/material/getting-started/templates/crud-dashboard/components/EmployeeList.tsx",
      "asOf": "2026-11-20"
    },
    "F171": {
      "label": "Project full_name, @mui/x-data-grid",
      "display": "mui/material-ui",
      "asOf": "2026-11-20"
    },
    "F172": {
      "label": "Project stargazers_count, @mui/x-data-grid",
      "display": "99.4K",
      "asOf": "2026-11-20"
    },
    "F173": {
      "label": "Library name, datatables.net",
      "display": "DataTables",
      "asOf": "2026-11-20"
    },
    "F174": {
      "label": "Monthly downloads, datatables.net",
      "display": "3.5M",
      "asOf": "2026-11-20"
    },
    "F175": {
      "label": "License, datatables.net",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F176": {
      "label": "Package release, datatables.net",
      "display": "3.1.5",
      "asOf": "2026-11-20"
    },
    "F177": {
      "label": "Package release date, datatables.net",
      "display": "Oct 2026",
      "asOf": "2026-11-20"
    },
    "F178": {
      "label": "Install, datatables.net",
      "display": "npm install datatables.net",
      "asOf": "2026-11-20"
    },
    "F179": {
      "label": "Quickstart, datatables.net",
      "display": "import DataTable from 'datatables.net';\n\nnew DataTable('#myTable', {\n    // initialisation options\n});\n",
      "asOf": "2026-11-20"
    },
    "F180": {
      "label": "Repository stars, datatables.net",
      "display": "815",
      "asOf": "2026-11-20"
    },
    "F181": {
      "label": "Cell editing UI, datatables.net",
      "display": "Via plugin",
      "asOf": "2026-11-20"
    },
    "F182": {
      "label": "Row virtualization, datatables.net",
      "display": "Via plugin",
      "asOf": "2026-11-20"
    },
    "F183": {
      "label": "Column pinning, datatables.net",
      "display": "Via plugin",
      "asOf": "2026-11-20"
    },
    "F184": {
      "label": "Framework surface, datatables.net",
      "display": "Browser HTML-table engine with jQuery integration and optional extensions.",
      "asOf": "2026-11-20"
    },
    "F185": {
      "label": "License and optional editions, datatables.net",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F186": {
      "label": "Legacy layout API, datatables.net",
      "display": "dom remains supported but deprecated; not yet scheduled for removal. New code should use layout.",
      "asOf": "2026-11-20"
    },
    "F187": {
      "label": "Project function, datatables.net",
      "display": "function draw_oauth2_clients() {\n    // just recalc width if instance already exists\n    if ($.fn.DataTable.isDataTable('#oauth2clientstable') ) {\n      $('#oauth2clientstable').DataTable().columns.adjust().responsive.recalc();\n      return;\n    }\n\n    $('#oauth2clientstable').DataTable({\n      responsive: true,\n      processing: true,\n      serverSide: false,\n      stateSave: true,\n      pageLength: pagination_size,\n      dom: \"<'row'<'col-sm-12 col-md-6'f><'col-sm-12 col-md-6'l>>\" +\n           \"tr\" +\n           \"<'row'<'col-sm-12 col-md-5'i><'col-sm-12 col-md-7'p>>\",\n      language: lang_datatables,\n      ajax: {\n        type: \"GET\",\n        url: \"/api/v1/get/oauth2-client/all\",\n        dataSrc: function(data){\n          return process_table_data(data, 'oauth2clientstable');\n        }\n      },\n      columns: [\n        {\n          // placeholder, so checkbox will not block child row toggle\n          title: '',\n          data: null,\n          searchable: false,\n          orderable: false,\n          defaultContent: ''\n        },\n        {\n          title: '',\n          data: 'chkbox',\n          searchable: false,\n          orderable: false,\n          defaultContent: ''\n        },\n        {\n          title: 'ID',\n          data: 'id',\n          defaultContent: ''\n        },\n        {\n          title: lang.oauth2_client_id,\n          data: 'client_id',\n          defaultContent: ''\n        },\n        {\n          title: lang.oauth2_client_secret,\n          data: 'client_secret',\n          defaultContent: ''\n        },\n        {\n          title: lang.oauth2_redirect_uri,\n          data: 'redirect_uri',\n          defaultContent: ''\n        },\n        {\n          title: lang.action,\n          data: 'action',\n          className: 'dt-sm-head-hidden dt-text-right',\n          defaultContent: ''\n        },\n      ]\n    });\n  }\n",
      "asOf": "2026-11-20"
    },
    "F188": {
      "label": "Project source file, datatables.net",
      "display": "data/web/js/site/admin.js",
      "asOf": "2026-11-20"
    },
    "F189": {
      "label": "Project full_name, datatables.net",
      "display": "mailcow/mailcow-dockerized",
      "asOf": "2026-11-20"
    },
    "F190": {
      "label": "Project stargazers_count, datatables.net",
      "display": "13.8K",
      "asOf": "2026-11-20"
    },
    "F191": {
      "label": "Library name, react-data-grid",
      "display": "react-data-grid",
      "asOf": "2026-11-20"
    },
    "F192": {
      "label": "Monthly downloads, react-data-grid",
      "display": "3.1M",
      "asOf": "2026-11-20"
    },
    "F193": {
      "label": "License, react-data-grid",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F194": {
      "label": "Package release, react-data-grid",
      "display": "7.0.0-beta.64",
      "asOf": "2026-11-20"
    },
    "F195": {
      "label": "Package release date, react-data-grid",
      "display": "Nov 2026",
      "asOf": "2026-11-20"
    },
    "F196": {
      "label": "Install, react-data-grid",
      "display": "npm install react-data-grid",
      "asOf": "2026-11-20"
    },
    "F197": {
      "label": "Quickstart, react-data-grid",
      "display": "import 'react-data-grid/lib/styles.css';\n\nimport { DataGrid, type Column } from 'react-data-grid';\n\ninterface Row {\n  id: number;\n  title: string;\n}\n\nconst columns: readonly Column<Row>[] = [\n  { key: 'id', name: 'ID' },\n  { key: 'title', name: 'Title' }\n];\n\nconst rows: readonly Row[] = [\n  { id: 0, title: 'Example' },\n  { id: 1, title: 'Demo' }\n];\n\nfunction App() {\n  return <DataGrid columns={columns} rows={rows} />;\n}\n",
      "asOf": "2026-11-20"
    },
    "F198": {
      "label": "Official description, react-data-grid",
      "display": "Provides a customizable data grid component for React.",
      "asOf": "2026-11-20"
    },
    "F199": {
      "label": "Quickstart source file, react-data-grid",
      "display": "README.md",
      "asOf": "2026-11-20"
    },
    "F200": {
      "label": "Repository stars, react-data-grid",
      "display": "7.7K",
      "asOf": "2026-11-20"
    },
    "F201": {
      "label": "Cell editing UI, react-data-grid",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F202": {
      "label": "Row virtualization, react-data-grid",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F203": {
      "label": "Column pinning, react-data-grid",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F204": {
      "label": "Framework surface, react-data-grid",
      "display": "React grid with current React19.2 peer requirements.",
      "asOf": "2026-11-20"
    },
    "F205": {
      "label": "License and optional editions, react-data-grid",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F206": {
      "label": "Declared peer requirements, react-data-grid",
      "display": "## Peer Dependencies\n\n| Package | Version |\n| --- | --- |\n| react | ^19.2 |\n| react-dom | ^19.2 |",
      "asOf": "2026-11-20"
    },
    "F207": {
      "label": "Project function, react-data-grid",
      "display": "(props: RenderCellProps<SupaRow>) => {\n    // [Alaister] formatter is actually a valid React component, so we can use hooks here\n    // eslint-disable-next-line react-hooks/rules-of-hooks\n    const { isRowSelected, onRowSelectionChange } = useRowSelection()\n    return (\n      <SelectCellFormatter\n        aria-label=\"Select\"\n        tabIndex={props.tabIndex}\n        value={isRowSelected}\n        row={props.row}\n        onChange={(checked, isShiftClick) => {\n          onRowSelectionChange({ row: props.row, checked, isShiftClick })\n        }}\n        // Stop propagation to prevent row selection\n        onClick={stopPropagation}\n      />\n    )\n  }\n",
      "asOf": "2026-11-20"
    },
    "F208": {
      "label": "Project source file, react-data-grid",
      "display": "apps/studio/components/grid/components/grid/SelectColumn.tsx",
      "asOf": "2026-11-20"
    },
    "F209": {
      "label": "Project full_name, react-data-grid",
      "display": "supabase/supabase",
      "asOf": "2026-11-20"
    },
    "F210": {
      "label": "Project stargazers_count, react-data-grid",
      "display": "114.9K",
      "asOf": "2026-11-20"
    },
    "F211": {
      "label": "Library name, @glideapps/glide-data-grid",
      "display": "@glideapps/glide-data-grid",
      "asOf": "2026-11-20"
    },
    "F212": {
      "label": "Monthly downloads, @glideapps/glide-data-grid",
      "display": "2.6M",
      "asOf": "2026-11-20"
    },
    "F213": {
      "label": "License, @glideapps/glide-data-grid",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F214": {
      "label": "Package release, @glideapps/glide-data-grid",
      "display": "6.0.3",
      "asOf": "2026-11-20"
    },
    "F215": {
      "label": "Package release date, @glideapps/glide-data-grid",
      "display": "Feb 2024",
      "asOf": "2026-11-20"
    },
    "F216": {
      "label": "Install, @glideapps/glide-data-grid",
      "display": "npm i @glideapps/glide-data-grid lodash@^4.17.19 marked@^4.0.10 react-responsive-carousel@^3.2.7",
      "asOf": "2026-11-20"
    },
    "F217": {
      "label": "Quickstart, @glideapps/glide-data-grid",
      "display": "import DataEditor, { GridCellKind } from '@glideapps/glide-data-grid';\nimport '@glideapps/glide-data-grid/dist/index.css';\nconst columns = [{ title: 'Name', width: 160 }];\nconst data = ['Ada', 'Grace'];\nexport default function App() {\n  return <DataEditor columns={columns} rows={data.length}\n    getCellContent={([col, row]) => ({ kind: GridCellKind.Text, data: data[row],\n      displayData: data[row], allowOverlay: false })} />;\n}\n",
      "asOf": "2026-11-20"
    },
    "F218": {
      "label": "Official description, @glideapps/glide-data-grid",
      "display": "Displays and edits large amounts of data in a React data grid.",
      "asOf": "2026-11-20"
    },
    "F219": {
      "label": "Quickstart source file, @glideapps/glide-data-grid",
      "display": "packages/core/README.md",
      "asOf": "2026-11-20"
    },
    "F220": {
      "label": "Repository stars, @glideapps/glide-data-grid",
      "display": "5.4K",
      "asOf": "2026-11-20"
    },
    "F221": {
      "label": "Cell editing UI, @glideapps/glide-data-grid",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F222": {
      "label": "Row virtualization, @glideapps/glide-data-grid",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F223": {
      "label": "Column pinning, @glideapps/glide-data-grid",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F224": {
      "label": "Framework surface, @glideapps/glide-data-grid",
      "display": "React canvas-backed editable grid with actual published React16.12/17/18 peer ranges.",
      "asOf": "2026-11-20"
    },
    "F225": {
      "label": "License and optional editions, @glideapps/glide-data-grid",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F226": {
      "label": "Declared peer requirements, @glideapps/glide-data-grid",
      "display": "{\"react\": \"^16.12.0 || 17.x || 18.x\", \"lodash\": \"^4.17.19\", \"marked\": \"^4.0.10\", \"react-dom\": \"^16.12.0 || 17.x || 18.x\", \"react-responsive-carousel\": \"^3.2.7\"}",
      "asOf": "2026-11-20"
    },
    "F227": {
      "label": "Published scroll options, @glideapps/glide-data-grid",
      "display": "[\"hAlign\", \"vAlign\"]",
      "asOf": "2026-11-20"
    },
    "F228": {
      "label": "Project function, @glideapps/glide-data-grid",
      "display": "const handleDeleteRows = () => {\n    const rows = selection.rows.toArray();\n    onAddEdits(\n      rows.map((rowIdx, index) => ({\n        rowIdx: rowIdx - index,\n        type: BulkEdit.Remove,\n      })),\n    );\n\n    // Clear selection\n    setSelection({\n      columns: CompactSelection.empty(),\n      rows: CompactSelection.empty(),\n    });\n  };\n",
      "asOf": "2026-11-20"
    },
    "F229": {
      "label": "Project source file, @glideapps/glide-data-grid",
      "display": "frontend/src/plugins/impl/data-editor/glide-data-editor.tsx",
      "asOf": "2026-11-20"
    },
    "F230": {
      "label": "Project full_name, @glideapps/glide-data-grid",
      "display": "marimo-team/marimo",
      "asOf": "2026-11-20"
    },
    "F231": {
      "label": "Project stargazers_count, @glideapps/glide-data-grid",
      "display": "23.6K",
      "asOf": "2026-11-20"
    },
    "F232": {
      "label": "Library name, material-react-table",
      "display": "Material React Table",
      "asOf": "2026-11-20"
    },
    "F233": {
      "label": "Monthly downloads, material-react-table",
      "display": "1.8M",
      "asOf": "2026-11-20"
    },
    "F234": {
      "label": "License, material-react-table",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F235": {
      "label": "Package release, material-react-table",
      "display": "3.2.1",
      "asOf": "2026-11-20"
    },
    "F236": {
      "label": "Package release date, material-react-table",
      "display": "Mar 2025",
      "asOf": "2026-11-20"
    },
    "F237": {
      "label": "Install, material-react-table",
      "display": "npm install material-react-table @mui/material @mui/x-date-pickers @mui/icons-material @emotion/react @emotion/styled",
      "asOf": "2026-11-20"
    },
    "F238": {
      "label": "Quickstart, material-react-table",
      "display": "import { MaterialReactTable, useMaterialReactTable } from 'material-react-table';\nconst data = [{ name: 'Ada' }];\nconst columns = [{ accessorKey: 'name', header: 'Name' }];\nexport default function App() {\n  const table = useMaterialReactTable({ columns, data });\n  return <MaterialReactTable table={table} />;\n}\n",
      "asOf": "2026-11-20"
    },
    "F239": {
      "label": "Official description, material-react-table",
      "display": "Implements TanStack React Table with Material UI.",
      "asOf": "2026-11-20"
    },
    "F240": {
      "label": "Quickstart source file, material-react-table",
      "display": "docs/getting-started/usage.mdx",
      "asOf": "2026-11-20"
    },
    "F241": {
      "label": "Repository stars, material-react-table",
      "display": "1.8K",
      "asOf": "2026-11-20"
    },
    "F242": {
      "label": "Cell editing UI, material-react-table",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F243": {
      "label": "Row virtualization, material-react-table",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F244": {
      "label": "Column pinning, material-react-table",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F245": {
      "label": "Framework surface, material-react-table",
      "display": "Complete Material UI table built on TanStack v8; not a Core v9 adapter alias.",
      "asOf": "2026-11-20"
    },
    "F246": {
      "label": "License and optional editions, material-react-table",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F247": {
      "label": "Declared peer requirements, material-react-table",
      "display": "## Peer Dependencies\n\n| Package | Version |\n| --- | --- |\n| @emotion/react | >=11.13 |\n| @emotion/styled | >=11.13 |\n| @mui/icons-material | >=6 |\n| @mui/material | >=6 |\n| @mui/x-date-pickers | >=7.15 |\n| react | >=18.0 |\n| react-dom | >=18.0 |",
      "asOf": "2026-11-20"
    },
    "F248": {
      "label": "Underlying engine major, material-react-table",
      "display": "TanStack React Table v8 and Material UI v6 baseline; current selected headless Core is v9.",
      "asOf": "2026-11-20"
    },
    "F249": {
      "label": "Project function, material-react-table",
      "display": "export const Component = () => {\n    const { api } = useApi();\n    const {\n        data,\n        isLoading: isDevicesLoading,\n        isError: isDevicesError,\n        isRefetching\n    } = useDevices({});\n    const devices = useMemo(() => (\n        data?.Items || []\n    ), [ data ]);\n    const {\n        usersById: users,\n        names: userNames,\n        isLoading: isUsersLoading,\n        isError: isUsersError\n    } = useUsersDetails();\n    const theme = useTheme();\n\n    const [ isDeleteConfirmOpen, setIsDeleteConfirmOpen ] = useState(false);\n    const [ isDeleteAllConfirmOpen, setIsDeleteAllConfirmOpen ] = useState(false);\n    const [ pendingDeleteDeviceId, setPendingDeleteDeviceId ] = useState<string>();\n    const deleteDevice = useDeleteDevice();\n    const updateDevice = useUpdateDevice();\n\n    const isLoading = isDevicesLoading || isUsersLoading;\n\n    const onDeleteDevice = useCallback((id: string | null | undefined) => () => {\n        if (id) {\n            setPendingDeleteDeviceId(id);\n            setIsDeleteConfirmOpen(true);\n        }\n    }, []);\n\n    const onCloseDeleteConfirmDialog = useCallback(() => {\n        setPendingDeleteDeviceId(undefined);\n        setIsDeleteConfirmOpen(false);\n    }, []);\n\n    const onConfirmDelete = useCallback(() => {\n        if (pendingDeleteDeviceId) {\n            deleteDevice.mutate({\n                id: [pendingDeleteDeviceId]\n            }, {\n                onSettled: onCloseDeleteConfirmDialog\n            });\n        }\n    }, [ deleteDevice, onCloseDeleteConfirmDialog, pendingDeleteDeviceId ]);\n\n    const onDeleteAll = useCallback(() => {\n        setIsDeleteAllConfirmOpen(true);\n    }, []);\n\n    const onCloseDeleteAllConfirmDialog = useCallback(() => {\n        setIsDeleteAllConfirmOpen(false);\n    }, []);\n\n    const onConfirmDeleteAll = useCallback(() => {\n        if (devices) {\n            Promise\n                .all(devices.map(item => {\n                    const isCurrentDevice = api && item.Id && api.deviceInfo.id === item.Id;\n                    if (item.Id && !isCurrentDevice) {\n                        return deleteDevice.mutateAsync({ id: [item.Id] });\n                    }\n                    return Promise.resolve();\n                }))\n                .catch(err => {\n                    console.error('[DevicesPage] failed deleting all devices', err);\n                })\n                .finally(() => {\n                    onCloseDeleteAllConfirmDialog();\n                });\n        }\n    }, [ api, deleteDevice, devices, onCloseDeleteAllConfirmDialog ]);\n\n    const UserCell = getUserCell(users);\n\n    const columns = useMemo<MRT_ColumnDef<DeviceInfoDto>[]>(() => [\n        {\n            id: 'DateLastActivity',\n            accessorFn: row => row.DateLastActivity ? parseISO(row.DateLastActivity) : undefined,\n            header: globalize.translate('LastActive'),\n            size: 160,\n            Cell: DateTimeCell,\n            filterVariant: 'datetime-range',\n            enableEditing: false\n        },\n        {\n            id: 'Name',\n            accessorFn: row => row.CustomName || row.Name,\n            header: globalize.translate('LabelDevice'),\n            size: 200,\n            Cell: DeviceNameCell\n        },\n        {\n            id: 'App',\n            accessorFn: row => [row.AppName, row.AppVersion]\n                .filter(v => !!v) // filter missing values\n                .join(' '),\n            header: globalize.translate('LabelAppName'),\n            size: 200,\n            enableEditing: false\n        },\n        {\n            accessorKey: 'LastUserName',\n            header: globalize.translate('LabelUser'),\n            size: 120,\n            enableEditing: false,\n            Cell: UserCell,\n            filterVariant: 'multi-select',\n            filterSelectOptions: userNames\n        }\n    ], [ UserCell, userNames ]);\n\n    // NOTE: We need to provide a custom theme due to a MRT bug causing the initial theme to always be used\n    // https://github.com/KevinVandy/material-react-table/issues/1429\n    const mrtTheme = useMemo<Partial<MRT_Theme>>(() => ({\n        baseBackgroundColor: theme.palette.background.paper\n    }), [ theme ]);\n\n    const mrTable = useMaterialReactTable({\n        ...DEFAULT_TABLE_OPTIONS,\n        mrtTheme,\n\n        columns,\n        data: devices,\n\n        // State\n        initialState: {\n            density: 'compact',\n            pagination: {\n                pageIndex: 0,\n                pageSize: 25\n            }\n        },\n        state: {\n            isLoading\n        },\n\n        // Do not reset the page index when refetching data\n        autoResetPageIndex: !isRefetching,\n\n        // Editing device name\n        enableEditing: true,\n        onEditingRowSave: ({ table, row, values }) => {\n            const newName = values.Name?.trim();\n            const hasChanged = row.original.CustomName ?\n                newName !== row.original.CustomName :\n                newName !== row.original.Name;\n\n            // If the name has changed, save it as the custom name\n            if (row.original.Id && hasChanged) {\n                updateDevice.mutate({\n                    id: row.original.Id,\n                    deviceOptionsDto: {\n                        CustomName: newName || undefined\n                    }\n                });\n            }\n\n            table.setEditingRow(null); //exit editing mode\n        },\n\n        // Custom actions\n        enableRowActions: true,\n        positionActionsColumn: 'last',\n        displayColumnDefOptions: {\n            'mrt-row-actions': {\n                header: '',\n                size: 100\n            }\n        },\n        renderRowActions: ({ row, table }) => {\n            const isCurrentDevice = api && row.original.Id && api.deviceInfo.id === row.original.Id;\n            return (\n                <Box\n                    sx={{\n                        display: 'flex',\n                        gap: 1,\n                        '&&': {\n                            backgroundColor: 'transparent !important'\n                        }\n                    }}\n                >\n                    <Tooltip title={globalize.translate('Edit')}>\n                        <IconButton\n                            onClick={() => table.setEditingRow(row)}\n                        >\n                            <Edit />\n                        </IconButton>\n                    </Tooltip>\n                    {/* Don't include Tooltip when disabled */}\n                    {isCurrentDevice ? (\n                        <IconButton\n                            color='error'\n                            disabled\n                        >\n                            <Delete />\n                        </IconButton>\n                    ) : (\n                        <Tooltip title={globalize.translate('Delete')}>\n                            <IconButton\n                                color='error'\n                                onClick={onDeleteDevice(row.original.Id)}\n                            >\n                                <Delete />\n                            </IconButton>\n                        </Tooltip>\n                    )}\n                </Box>\n            );\n        },\n\n        // Custom toolbar contents\n        renderTopToolbarCustomActions: () => (\n            <Button\n                color='error'\n                startIcon={<Delete />}\n                onClick={onDeleteAll}\n            >\n                {globalize.translate('DeleteAll')}\n            </Button>\n        )\n    });\n\n    return (\n        <TablePage\n            id='devicesPage'\n            title={globalize.translate('HeaderDevices')}\n            className='mainAnimatedPage type-interior'\n            table={mrTable}\n            isError={isDevicesError || isUsersError}\n            errorMessage={globalize.translate('DevicesLoadError')}\n        >\n            <ConfirmDialog\n                open={isDeleteConfirmOpen}\n                title={globalize.translate('HeaderDeleteDevice')}\n                text={globalize.translate('DeleteDeviceConfirmation')}\n                onCancel={onCloseDeleteConfirmDialog}\n                onConfirm={onConfirmDelete}\n                confirmButtonColor='error'\n                confirmButtonText={globalize.translate('Delete')}\n            />\n            <ConfirmDialog\n                open={isDeleteAllConfirmOpen}\n                title={globalize.translate('HeaderDeleteDevices')}\n                text={globalize.translate('DeleteDevicesConfirmation')}\n                onCancel={onCloseDeleteAllConfirmDialog}\n                onConfirm={onConfirmDeleteAll}\n                confirmButtonColor='error'\n                confirmButtonText={globalize.translate('Delete')}\n            />\n        </TablePage>\n    );\n};\n",
      "asOf": "2026-11-20"
    },
    "F250": {
      "label": "Project source file, material-react-table",
      "display": "src/apps/dashboard/routes/devices/index.tsx",
      "asOf": "2026-11-20"
    },
    "F251": {
      "label": "Project full_name, material-react-table",
      "display": "jellyfin/jellyfin-web",
      "asOf": "2026-11-20"
    },
    "F252": {
      "label": "Project stargazers_count, material-react-table",
      "display": "4.0K",
      "asOf": "2026-11-20"
    },
    "F253": {
      "label": "Library name, handsontable",
      "display": "Handsontable",
      "asOf": "2026-11-20"
    },
    "F254": {
      "label": "Monthly downloads, handsontable",
      "display": "1.5M",
      "asOf": "2026-11-20"
    },
    "F255": {
      "label": "License, handsontable",
      "display": "SEE LICENSE IN LICENSE.txt",
      "asOf": "2026-11-20"
    },
    "F256": {
      "label": "Package release, handsontable",
      "display": "18.1.2",
      "asOf": "2026-11-20"
    },
    "F257": {
      "label": "Package release date, handsontable",
      "display": "Oct 2026",
      "asOf": "2026-11-20"
    },
    "F258": {
      "label": "Install, handsontable",
      "display": "npm install handsontable",
      "asOf": "2026-11-20"
    },
    "F259": {
      "label": "Quickstart, handsontable",
      "display": "import Handsontable from 'handsontable';\nconst element = document.getElementById('handsontable-grid');\nnew Handsontable(element, {\n  data: [{company: 'Tagcat'}],\n  columns: [{data: 'company', title: 'Company'}],\n  rowHeaders: true,\n  licenseKey: 'non-commercial-and-evaluation',\n});\n",
      "asOf": "2026-11-20"
    },
    "F260": {
      "label": "Official description, handsontable",
      "display": "Provides a JavaScript data grid for React, Angular, and Vue.",
      "asOf": "2026-11-20"
    },
    "F261": {
      "label": "Quickstart source file, handsontable",
      "display": "README.md",
      "asOf": "2026-11-20"
    },
    "F262": {
      "label": "Repository stars, handsontable",
      "display": "22.1K",
      "asOf": "2026-11-20"
    },
    "F263": {
      "label": "Cell editing UI, handsontable",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F264": {
      "label": "Row virtualization, handsontable",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F265": {
      "label": "Column pinning, handsontable",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F266": {
      "label": "Framework surface, handsontable",
      "display": "JavaScript spreadsheet-style editable grid with optional framework wrappers.",
      "asOf": "2026-11-20"
    },
    "F267": {
      "label": "License and optional editions, handsontable",
      "display": "SEE LICENSE IN LICENSE.txt",
      "asOf": "2026-11-20"
    }
  },
  "dataCheckedAt": "2026-11-20",
  "agent": {
    "exaCall": {
      "endpoint": "/search",
      "body": {
        "query": "JavaScript table libraries sorting filtering pagination virtual rows code examples",
        "numResults": 5
      },
      "docsUrl": "https://exa.ai/docs/reference/search"
    },
    "calls": []
  }
}
